Lines Matching refs:BMK_timedFnState_t
136 typedef struct BMK_timedFnState_s BMK_timedFnState_t;
146 BMK_runOutcome_t BMK_benchTimedFn(BMK_timedFnState_t* timedFnState,
151 int BMK_isCompleted_TimedFn(const BMK_timedFnState_t* timedFnState);
154 * Create/Set BMK_timedFnState_t for next benchmark session,
158 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);
160 void BMK_freeTimedFnState(BMK_timedFnState_t* state);
164 * Makes it possible to statically allocate a BMK_timedFnState_t on stack.
167 * BMK_timedFnState_t() actually accepts any buffer.
176 BMK_timedFnState_t* BMK_initStatic_timedFnState(void* buffer, size_t size, unsigned total_ms, unsigned run_ms);