MCPcopy Create free account
hub / github.com/RenderKit/embree / get_milliseconds

Function get_milliseconds

tutorials/forest/forest.cpp:62–64  ·  view source on GitHub ↗

* returns the elapsed time in full milliseconds for a time stamp delta has * enough accuracy for a couple of seconds */

Source from the content-addressed store, hash-verified

60 * enough accuracy for a couple of seconds
61 */
62 uint32_t get_milliseconds(int64_t diff) {
63 return uint32_t(((double)diff)/1000);
64 }
65 }
66
67 struct Tutorial : public TutorialApplication

Callers 1

drawGUIMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected