Skip to content

Function rdtsc

function rdtsc() runtime

template <bool fence = true>
KFR_INLINE uint64_t rdtsc() noexcept

Reads the processor's cycle counter.

Template parameters
fence If true, inserts serialization fences to ensure accurate measurement.
Returns
The current cycle count.

Fully qualified name: kfr::rdtsc()

Declared at runtime/time.hpp:61

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.