MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / counter

Function counter

Source/Node/TIC80Node.cpp:150–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148};
149
150static u64 counter(void*) {
151 return s_cast<u64>(SharedApplication.getCurrentTime() * 1000000.0);
152}
153
154static u64 freq(void*) {
155 return 1000000; // microseconds per second

Callers

nothing calls this directly

Calls 1

getCurrentTimeMethod · 0.45

Tested by

no test coverage detected