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

Function getCurrentTimeInMilliseconds

examples/shadertui/run.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36float getCurrentTimeInMilliseconds(
37 std::chrono::time_point<std::chrono::high_resolution_clock> &zeroTime) {
38 std::chrono::duration<float> duration =
39 std::chrono::high_resolution_clock::now() - zeroTime;
40 return duration.count();
41}
42
43void loadKernelCode(const std::string &filename, std::string &codeString) {
44 codeString = "";

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected