P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::Util::ScopedTimer Class Reference

#include <timer.h>

Public Member Functions

 ScopedTimer (const char *name)
 
 ScopedTimer (const ScopedTimer &)=delete
 

Detailed Description

Similar to withTimer function, measures execution time elapsed from instance creation to destruction.