15 lines
362 B
C
15 lines
362 B
C
|
|
// init_bench_preset_box.h — ベンチ用プリセットの箱
|
||
|
|
#ifndef INIT_BENCH_PRESET_BOX_H
|
||
|
|
#define INIT_BENCH_PRESET_BOX_H
|
||
|
|
|
||
|
|
#include <stdlib.h>
|
||
|
|
|
||
|
|
static inline void box_init_bench_presets(void) {
|
||
|
|
const char* bt = getenv("HAKMEM_BENCH_TINY_ONLY");
|
||
|
|
if (bt && atoi(bt) != 0) {
|
||
|
|
g_bench_tiny_only = 1;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
#endif // INIT_BENCH_PRESET_BOX_H
|