MCPcopy Create free account
hub / github.com/Illation/ETEngine / SystemTimestamp

Method SystemTimestamp

Engine/source/EtCore/Util/Time.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46#endif
47}
48uint64 Time::SystemTimestamp() const
49{
50#ifndef PLATFORM_Linux
51 auto end = Now();
52 return static_cast<uint64>(std::chrono::duration_cast<std::chrono::nanoseconds>(end.time_since_epoch()).count());
53#endif
54}
55
56//Platform abstraction
57#ifdef PLATFORM_Linux

Callers 1

GlobalRandom.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected