P4C
The P4 Compiler
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
P4::Util::TimerEntry Struct Reference

Public Attributes

size_t milliseconds
 Total duration in milliseconds.
 
float relativeToParent
 Portion of this timer's name relative to the parent timer.
 
std::string timerName
 Counter name. If a timer "Y" was invoked inside timer "X", its timer name is "X.Y".
 

Member Data Documentation

◆ milliseconds

size_t P4::Util::TimerEntry::milliseconds

Total duration in milliseconds.

◆ relativeToParent

float P4::Util::TimerEntry::relativeToParent

Portion of this timer's name relative to the parent timer.

◆ timerName

std::string P4::Util::TimerEntry::timerName

Counter name. If a timer "Y" was invoked inside timer "X", its timer name is "X.Y".