LLVM 20.0.0git
|
#include "llvm/TableGen/TGTimer.h"
Public Member Functions | |
TGTimer ()=default | |
~TGTimer ()=default | |
void | startPhaseTiming () |
Start phase timing; called if the –time-phases option is specified. | |
void | startTimer (StringRef Name) |
Start timing a phase. Automatically stops any previous phase timer. | |
void | stopTimer () |
Stop timing a phase. | |
void | startBackendTimer (StringRef Name) |
Start timing the overall backend. | |
void | stopBackendTimer () |
Stop timing the overall backend. | |
void | stopPhaseTiming () |
Stop phase timing and print the report. | |
|
default |
|
default |
void TGTimer::startBackendTimer | ( | StringRef | Name | ) |
Start timing the overall backend.
If the backend itself starts a timer, then this timer is cleared.
Definition at line 41 of file TGTimer.cpp.
References Name, and startTimer().
|
inline |
void TGTimer::startTimer | ( | StringRef | Name | ) |
Start timing a phase. Automatically stops any previous phase timer.
Definition at line 18 of file TGTimer.cpp.
References Name.
Referenced by startBackendTimer().
void TGTimer::stopBackendTimer | ( | ) |
|
inline |
void TGTimer::stopTimer | ( | ) |
Stop timing a phase.
Definition at line 33 of file TGTimer.cpp.
References assert().
Referenced by stopBackendTimer().