LLVM: llvm::TGTimer Class Reference (original) (raw)
#include "[llvm/TableGen/TGTimer.h](TGTimer%5F8h%5Fsource.html)"
| 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. |
Definition at line 24 of file TGTimer.h.
| llvm::TGTimer::TGTimer ( ) | default |
|---|
◆ ~TGTimer()
| llvm::TGTimer::~TGTimer ( ) | default |
|---|
◆ startBackendTimer()
| 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 startTimer().
◆ startPhaseTiming()
| void llvm::TGTimer::startPhaseTiming ( ) | inline |
|---|
Start phase timing; called if the –time-phases option is specified.
Definition at line 35 of file TGTimer.h.
◆ startTimer()
◆ stopBackendTimer()
| void TGTimer::stopBackendTimer | ( | ) |
|---|
◆ stopPhaseTiming()
| void llvm::TGTimer::stopPhaseTiming ( ) | inline |
|---|
Stop phase timing and print the report.
Definition at line 54 of file TGTimer.h.
◆ stopTimer()
| void TGTimer::stopTimer | ( | ) |
|---|
The documentation for this class was generated from the following files:
- include/llvm/TableGen/TGTimer.h
- lib/TableGen/TGTimer.cpp