#include "llvm/Support/Timer.h"
Definition at line 25 of file Timer.h.
◆ TimeRecord()
llvm::TimeRecord::TimeRecord |
( |
| ) |
|
|
inline |
◆ getCurrentTime()
Get the current time and memory usage.
If Start is true we get the memory usage before the time, otherwise we get time before memory usage. This matters if the time to get the memory usage is significant and shouldn't be counted as part of a duration.
Definition at line 168 of file Timer.cpp.
Referenced by llvm::Timer::startTimer(), and llvm::Timer::stopTimer().
◆ getInstructionsExecuted()
uint64_t llvm::TimeRecord::getInstructionsExecuted |
( |
| ) |
const |
|
inline |
◆ getMemUsed()
ssize_t llvm::TimeRecord::getMemUsed |
( |
| ) |
const |
|
inline |
◆ getProcessTime()
double llvm::TimeRecord::getProcessTime |
( |
| ) |
const |
|
inline |
◆ getSystemTime()
double llvm::TimeRecord::getSystemTime |
( |
| ) |
const |
|
inline |
◆ getUserTime()
double llvm::TimeRecord::getUserTime |
( |
| ) |
const |
|
inline |
◆ getWallTime()
double llvm::TimeRecord::getWallTime |
( |
| ) |
const |
|
inline |
◆ operator+=()
◆ operator-=()
◆ operator<()
Definition at line 49 of file Timer.h.
References T.
◆ print()
The documentation for this class was generated from the following files: