C++ Reference: class CycleTimer

This documentation is automatically generated.

This is meant to be a ultra-fast interface to the hardware cycle counter, without periodic recalibration, to be even faster than absl::GetCurrentTimeNanos(). But this current implementation just uses GetCurrentTimeNanos(). TODO(user): implement it.

Return type: int64

This actually returns a number of nanoseconds instead of the number of CPU cycles.

Send feedback about...