Class Profiler::Counters¶
Defined in File profiler.hpp
Class Documentation¶
-
class
wrench::Profiler::Counters¶ Classs to represent the counters.
Public Types
-
using
Duration= std::chrono::duration<uint64_t, std::nano>¶ Defines the type of the time duration.
Public Functions
-
auto perf_event_value (PerfEvent event) const noexcept -> uint64_t Returns the value of the perf event
event.- Parameters
event: The event to get the value of.
-
auto perf_event_ratio (PerfEvent a, PerfEvent b) const noexcept -> double Returns the ratio of the event
ato the eventb, returninga / b.- Parameters
a: The first event for the ratio.b: The second event for the ratio.
-
auto wall_time () const noexcept -> Duration Returns the wall clock time.
-
auto running_time () const noexcept -> Duration Returns the running time,.
-
auto instructions_per_cycle () const noexcept -> double Returns the number of instructions per cycle.
-
auto cycles_per_instruction () const noexcept -> double Returns the number of cycles per insturction.
-
auto l1d_miss_rate () const noexcept -> double Returns the L1D cache miss rate.
-
auto l1d_hit_rate () const noexcept -> double Returns the L1D hit rate.
-
auto l1i_miss_rate () const noexcept -> double Returns the L1Icache miss rate.
-
auto l1i_hit_rate () const noexcept -> double Returns the L1I hit rate.
-
auto branch_miss_rate () const noexcept -> double Returns the branch miss rate.
-
auto branch_hit_rate () const noexcept -> double returns the branch hit rate.
-
using