MCPcopy Create free account
hub / github.com/IntegralPilot/wasm_os / clock

Function clock

stdlib/c/time.h:12–14  ·  view source on GitHub ↗

Returns the processor time consumed by the program

Source from the content-addressed store, hash-verified

10
11// Returns the processor time consumed by the program
12clock_t clock() {
13 return cputime();
14}
15
16// Returns the current calendar time
17// Assume that the machine booted at the Unix epoch

Callers 1

_startFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected