MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / ~Timer

Method ~Timer

tests/unittests/fp8_gemm_test/worker.cpp:149–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 _start = getTick();
148 }
149 ~Timer()
150 {
151 const auto duration = getTick() - _start;
152 printf("^^^^^^^^ [Timer] %s: %lu\n", msg, duration);
153 }
154
155private:
156 uint64_t getTick()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected