MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetTimestamp

Function GetTimestamp

profiling/client/src/ProfilingUtils.cpp:595–603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593}
594
595uint64_t GetTimestamp()
596{
597 using clock = std::chrono::steady_clock;
598
599 // Take a timestamp
600 auto timestamp = std::chrono::duration_cast<std::chrono::nanoseconds>(clock::now().time_since_epoch());
601
602 return static_cast<uint64_t>(timestamp.count());
603}
604
605arm::pipe::Packet ReceivePacket(const unsigned char* buffer, uint32_t length)
606{

Callers 2

RecordEventMethod · 0.85
CaptureMethod · 0.85

Calls 1

countMethod · 0.45

Tested by

no test coverage detected