LLVM API Documentation
#include "llvm/Support/Timer.h"
#include "llvm/Support/CommandLine.h"
#include <algorithm>
#include <iostream>
#include <functional>
#include <fstream>
#include <map>
#include "llvm/Config/sys/resource.h"
#include "llvm/Config/sys/time.h"
#include "llvm/Config/unistd.h"
#include "llvm/Config/malloc.h"
#include "llvm/Config/windows.h"
Include dependency graph for Timer.cpp:
Go to the source code of this file.
Namespaces | |
namespace | llvm |
Classes | |
struct | TimeRecord |
Functions | |
std::ostream * | llvm::GetLibSupportInfoOutputFile () |
static std::string & | getLibSupportInfoOutputFilename () |
static TimerGroup * | getDefaultTimerGroup () |
static long | getMemUsage () |
static TimeRecord | getTimeRecord (bool Start) |
static Timer & | getNamedRegionTimer (const std::string &Name) |
static void | printAlignedFP (double Val, unsigned AfterDec, unsigned TotalWidth, std::ostream &OS) |
static void | printVal (double Val, double Total, std::ostream &OS) |
std::ostream * | llvm::GetLibSupportInfoOutputFile () |
Variables | |
static TimerGroup * | DefaultTimerGroup = 0 |
static std::vector< Timer * > | ActiveTimers |
|
|
|
Definition at line 39 of file Timer.cpp. Referenced by llvm::GetLibSupportInfoOutputFile(). |
|
Definition at line 101 of file Timer.cpp. References TrackSpace. Referenced by llvm::Timer::addPeakMemoryMeasurement(), and getTimeRecord(). |
|
Definition at line 216 of file Timer.cpp. References I. |
|
Definition at line 116 of file Timer.cpp. References TimeRecord::Elapsed, getMemUsage(), TimeRecord::MemUsed, TimeRecord::SystemTime, and TimeRecord::UserTime. Referenced by llvm::Timer::startTimer(), and llvm::Timer::stopTimer(). |
|
Definition at line 237 of file Timer.cpp. Referenced by printVal(). |
|
Definition at line 253 of file Timer.cpp. References printAlignedFP(). Referenced by llvm::Timer::print(). |
|
|
|
|
|
|
|
Referenced by getMemUsage(). |