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

Function clock

stdlib/cpp/ctime.hpp:17–19  ·  view source on GitHub ↗

Returns the processor time consumed by the program

Source from the content-addressed store, hash-verified

15
16// Returns the processor time consumed by the program
17clock_t clock() {
18 return cputime();
19}
20
21// Returns the current calendar time
22// Assume that the machine booted at the Unix epoch

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected