P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::Util::TimerEntry Struct Reference

Public Attributes

uint64_t invocations
 Number of invocations.
 
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

◆ invocations

uint64_t P4::Util::TimerEntry::invocations

Number of invocations.

◆ 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".