Tells if nb of seconds set in timedFnState for all runs is spent. * note : this function will return 1 if BMK_benchFunctionTimed() has actually errored. */
| 198 | /* Tells if nb of seconds set in timedFnState for all runs is spent. |
| 199 | * note : this function will return 1 if BMK_benchFunctionTimed() has actually errored. */ |
| 200 | int BMK_isCompleted_TimedFn(const BMK_timedFnState_t* timedFnState) |
| 201 | { |
| 202 | return (timedFnState->timeSpent_ns >= timedFnState->timeBudget_ns); |
| 203 | } |
| 204 | |
| 205 | |
| 206 | #undef MIN |
no outgoing calls
no test coverage detected