Home
last modified time | relevance | path

Searched refs:run_ms (Results 1 – 2 of 2) sorted by relevance

/dragonfly/contrib/zstd/programs/
H A Dbenchfn.c160 BMK_timedFnState_t* BMK_createTimedFnState(unsigned total_ms, unsigned run_ms) in BMK_createTimedFnState() argument
164 BMK_resetTimedFnState(r, total_ms, run_ms); in BMK_createTimedFnState()
171 BMK_initStatic_timedFnState(void* buffer, size_t size, unsigned total_ms, unsigned run_ms) in BMK_initStatic_timedFnState() argument
180 BMK_resetTimedFnState(r, total_ms, run_ms); in BMK_initStatic_timedFnState()
184 void BMK_resetTimedFnState(BMK_timedFnState_t* timedFnState, unsigned total_ms, unsigned run_ms) in BMK_resetTimedFnState() argument
187 if (!run_ms) run_ms = 1; in BMK_resetTimedFnState()
188 if (run_ms > total_ms) run_ms = total_ms; in BMK_resetTimedFnState()
191 timedFnState->runBudget_ns = (PTime)run_ms * TIMELOOP_NANOSEC / 1000; in BMK_resetTimedFnState()
H A Dbenchfn.h158 BMK_timedFnState_t* BMK_createTimedFnState(unsigned total_ms, unsigned run_ms);
159 void BMK_resetTimedFnState(BMK_timedFnState_t* timedFnState, unsigned total_ms, unsigned run_ms);
176 …tate_t* BMK_initStatic_timedFnState(void* buffer, size_t size, unsigned total_ms, unsigned run_ms);