Ada 4.1.1
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
performance_counters Struct Reference

#include <apple_arm_events.h>

Public Member Functions

 performance_counters (uint64_t c, uint64_t b, uint64_t m, uint64_t i)
 performance_counters (double c, double b, double m, double i)
 performance_counters (double init)
performance_counters & operator-= (const performance_counters &other)
performance_counters & min (const performance_counters &other)
performance_counters & operator+= (const performance_counters &other)
performance_counters & operator/= (double numerator)

Public Attributes

double cycles
double branches
double missed_branches
double instructions

Detailed Description

Definition at line 50 of file apple_arm_events.h.

Constructor & Destructor Documentation

◆ performance_counters() [1/3]

performance_counters::performance_counters ( uint64_t c,
uint64_t b,
uint64_t m,
uint64_t i )
inline

Definition at line 55 of file apple_arm_events.h.

References branches, cycles, instructions, and missed_branches.

Referenced by min(), operator+=(), operator-=(), and operator/=().

◆ performance_counters() [2/3]

performance_counters::performance_counters ( double c,
double b,
double m,
double i )
inline

Definition at line 57 of file apple_arm_events.h.

References branches, cycles, instructions, and missed_branches.

◆ performance_counters() [3/3]

performance_counters::performance_counters ( double init)
inline

Definition at line 59 of file apple_arm_events.h.

References branches, cycles, instructions, and missed_branches.

Member Function Documentation

◆ min()

performance_counters & performance_counters::min ( const performance_counters & other)
inline

Definition at line 72 of file apple_arm_events.h.

References branches, cycles, instructions, missed_branches, and performance_counters().

◆ operator+=()

performance_counters & performance_counters::operator+= ( const performance_counters & other)
inline

Definition at line 82 of file apple_arm_events.h.

References branches, cycles, instructions, missed_branches, and performance_counters().

◆ operator-=()

performance_counters & performance_counters::operator-= ( const performance_counters & other)
inline

Definition at line 65 of file apple_arm_events.h.

References branches, cycles, instructions, missed_branches, and performance_counters().

◆ operator/=()

performance_counters & performance_counters::operator/= ( double numerator)
inline

Definition at line 90 of file apple_arm_events.h.

References branches, cycles, instructions, missed_branches, and performance_counters().

Member Data Documentation

◆ branches

◆ cycles

◆ instructions

double performance_counters::instructions

◆ missed_branches

double performance_counters::missed_branches

The documentation for this struct was generated from the following file: