MCPcopy Create free account
hub / github.com/F-Stack/f-stack / BMK_extract_runTime

Function BMK_extract_runTime

freebsd/contrib/zstd/programs/benchfn.c:71–75  ·  view source on GitHub ↗

warning : this function will stop program execution if outcome is invalid ! * check outcome validity first, using BMK_isValid_runResult() */

Source from the content-addressed store, hash-verified

69/* warning : this function will stop program execution if outcome is invalid !
70 * check outcome validity first, using BMK_isValid_runResult() */
71BMK_runTime_t BMK_extract_runTime(BMK_runOutcome_t outcome)
72{
73 CONTROL(outcome.error_tag_never_ever_use_directly == 0);
74 return outcome.internal_never_ever_use_directly;
75}
76
77size_t BMK_extract_errorResult(BMK_runOutcome_t outcome)
78{

Callers 2

BMK_benchTimedFnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected