LLVM API Documentation
#include "llvm/Support/Timer.h"
#include "llvm/ADT/OwningPtr.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Mutex.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Namespaces | |
llvm | |
List of target independent CodeGen pass IDs. | |
Functions | |
raw_ostream * | llvm::CreateInfoOutputFile () |
static std::string & | getLibSupportInfoOutputFilename () |
static TimerGroup * | getDefaultTimerGroup () |
static size_t | getMemUsage () |
static void | printVal (double Val, double Total, raw_ostream &OS) |
static Timer & | getNamedRegionTimer (StringRef Name) |
Variables | |
static ManagedStatic< std::string > | LibSupportInfoOutputFilename |
static ManagedStatic < sys::SmartMutex< true > > | TimerLock |
static TimerGroup * | DefaultTimerGroup = 0 |
static ManagedStatic < std::vector< Timer * > > | ActiveTimers |
static ManagedStatic < Name2TimerMap > | NamedTimers |
static ManagedStatic < Name2PairMap > | NamedGroupedTimers |
static TimerGroup * | TimerGroupList = 0 |
|
static |
Definition at line 82 of file Timer.cpp.
References DefaultTimerGroup, llvm::llvm_acquire_global_lock(), llvm::llvm_release_global_lock(), and llvm::sys::MemoryFence().
Referenced by llvm::Timer::init().
|
static |
Definition at line 38 of file Timer.cpp.
References LibSupportInfoOutputFilename.
Referenced by llvm::CreateInfoOutputFile().
|
inlinestatic |
Definition at line 124 of file Timer.cpp.
References llvm::sys::Process::GetMallocUsage().
Referenced by llvm::TimeRecord::getCurrentTime().
Definition at line 228 of file Timer.cpp.
References llvm::Timer::init(), llvm::Timer::isInitialized(), T, and TimerLock.
|
static |
Definition at line 168 of file Timer.cpp.
References llvm::format().
Referenced by llvm::TimeRecord::print().
|
static |
Definition at line 147 of file Timer.cpp.
Referenced by llvm::Timer::startTimer(), and llvm::Timer::stopTimer().
|
static |
Definition at line 81 of file Timer.cpp.
Referenced by getDefaultTimerGroup().
|
static |
Definition at line 37 of file Timer.cpp.
Referenced by getLibSupportInfoOutputFilename().
|
static |
|
static |
|
static |
TimerGroupList - This is the global list of TimerGroups, maintained by the TimerGroup ctor/dtor and is protected by the TimerLock lock.
Definition at line 251 of file Timer.cpp.
Referenced by llvm::TimerGroup::printAll(), and llvm::TimerGroup::TimerGroup().
|
static |
Definition at line 42 of file Timer.cpp.
Referenced by getNamedRegionTimer(), llvm::TimerGroup::print(), llvm::TimerGroup::printAll(), llvm::TimerGroup::TimerGroup(), and llvm::TimerGroup::~TimerGroup().