MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / getTick

Method getTick

tests/unittests/fp8_gemm_test/worker.cpp:156–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154
155private:
156 uint64_t getTick()
157 {
158 uint64_t low, high;
159 __asm__ volatile("rdtsc" : "=a"(low), "=d"(high));
160 return (high << 32) | low;
161 }
162 uint64_t _start = 0;
163 const char* msg;
164};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected