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

Method Timestamp

Engine/source/EtCore/Util/Time.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 return (1.f / m_DeltaTime);
41}
42uint64 Time::Timestamp() const
43{
44#ifndef PLATFORM_Linux
45 return static_cast<uint64>(std::chrono::duration_cast<std::chrono::nanoseconds>(Diff(begin, Now())).count());
46#endif
47}
48uint64 Time::SystemTimestamp() const
49{
50#ifndef PLATFORM_Linux

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected