MCPcopy Create free account
hub / github.com/AnswerDotAI/gpu.cpp / getCurrentTimeInMilliseconds

Function getCurrentTimeInMilliseconds

examples/render/run.cpp:83–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81)";
82
83std::uint32_t getCurrentTimeInMilliseconds() {
84 auto now = std::chrono::system_clock::now();
85 auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(
86 now.time_since_epoch());
87 return static_cast<uint32_t>(duration.count());
88}
89
90int main(int argc, char **argv) {
91

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected