mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-31 19:33:04 +08:00
Update core_portme.h
This commit is contained in:
parent
b99fd02db1
commit
6d8303cd71
@ -103,9 +103,7 @@ typedef int64_t CORE_TICKS;
|
||||
#define COMPILER_FLAGS \
|
||||
"Unspecified" /* "Please put compiler flags here (e.g. -o3)" */
|
||||
#endif
|
||||
#ifndef MEM_LOCATION
|
||||
#define MEM_LOCATION "STATIC"
|
||||
#endif
|
||||
|
||||
|
||||
/* Data Types :
|
||||
To avoid compiler issues, define the data types that need ot be used for
|
||||
@ -151,9 +149,19 @@ typedef size_t ee_size_t;
|
||||
MEM_STACK - to allocate the data block on the stack (NYI).
|
||||
*/
|
||||
#ifndef MEM_METHOD
|
||||
#define MEM_METHOD MEM_STATIC
|
||||
#define MEM_METHOD MEM_STACK
|
||||
#endif
|
||||
|
||||
#undef MEM_LOCATION
|
||||
#if MEM_METHOD == MEM_MALLOC
|
||||
# define MEM_LOCATION "MALLOC"
|
||||
#elif MEM_METHOD == MEM_STATIC
|
||||
# define MEM_LOCATION "STATIC"
|
||||
#elif MEM_METHOD == MEM_STACK
|
||||
# define MEM_LOCATION "STACK"
|
||||
#endif
|
||||
|
||||
|
||||
/* Configuration : MULTITHREAD
|
||||
Define for parallel execution
|
||||
|
||||
@ -205,7 +213,7 @@ typedef size_t ee_size_t;
|
||||
#endif
|
||||
|
||||
#ifndef ITERATIONS
|
||||
#define ITERATIONS 2000
|
||||
#define ITERATIONS 3000
|
||||
#endif
|
||||
|
||||
/* Variable : default_num_contexts
|
||||
|
Loading…
x
Reference in New Issue
Block a user