LLVM 20.0.0git
|
#include "llvm/Support/Timer.h"
#include "DebugOptions.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Config/config.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Mutex.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/Signposts.h"
#include "llvm/Support/YAMLTraits.h"
#include "llvm/Support/raw_ostream.h"
#include <limits>
Go to the source code of this file.
Functions | |
static std::string & | getLibSupportInfoOutputFilename () |
static TimerGroup * | getDefaultTimerGroup () |
static size_t | getMemUsage () |
static uint64_t | getCurInstructionsExecuted () |
static void | printVal (double Val, double Total, raw_ostream &OS) |
Variables | |
static ManagedStatic< std::string > | LibSupportInfoOutputFilename |
static ManagedStatic< sys::SmartMutex< true > > | TimerLock |
static ManagedStatic< SignpostEmitter > | Signposts |
Allows llvm::Timer to emit signposts when supported. | |
static ManagedStatic< TimerGroup, CreateDefaultTimerGroup > | DefaultTimerGroup |
static ManagedStatic< Name2PairMap > | NamedGroupedTimers |
static TimerGroup * | TimerGroupList = nullptr |
This is the global list of TimerGroups, maintained by the TimerGroup ctor/dtor and is protected by the TimerLock lock. | |
|
static |
Definition at line 157 of file Timer.cpp.
Referenced by llvm::TimeRecord::getCurrentTime().
|
static |
Definition at line 126 of file Timer.cpp.
References DefaultTimerGroup.
Referenced by llvm::Timer::init().
|
static |
Definition at line 49 of file Timer.cpp.
References LibSupportInfoOutputFilename.
Referenced by llvm::TimerGroup::constructForStatistics(), and llvm::CreateInfoOutputFile().
|
inlinestatic |
Definition at line 151 of file Timer.cpp.
References llvm::sys::Process::GetMallocUsage().
Referenced by llvm::TimeRecord::getCurrentTime().
|
static |
Definition at line 210 of file Timer.cpp.
References llvm::format(), OS, and llvm::Total.
Referenced by llvm::TimeRecord::print().
|
static |
Definition at line 125 of file Timer.cpp.
Referenced by llvm::TimerGroup::aquireDefaultGroup(), and getDefaultTimerGroup().
|
static |
Definition at line 48 of file Timer.cpp.
Referenced by getLibSupportInfoOutputFilename().
|
static |
Definition at line 270 of file Timer.cpp.
Referenced by llvm::TimerGroup::constructForStatistics().
|
static |
Allows llvm::Timer to emit signposts when supported.
Definition at line 56 of file Timer.cpp.
Referenced by llvm::Timer::startTimer(), and llvm::Timer::stopTimer().
|
static |
This is the global list of TimerGroups, maintained by the TimerGroup ctor/dtor and is protected by the TimerLock lock.
Definition at line 285 of file Timer.cpp.
Referenced by llvm::TimerGroup::clearAll(), llvm::TimerGroup::printAll(), llvm::TimerGroup::printAllJSONValues(), and llvm::TimerGroup::TimerGroup().
|
static |
Definition at line 53 of file Timer.cpp.
Referenced by llvm::TimerGroup::clear(), llvm::TimerGroup::clearAll(), llvm::TimerGroup::print(), llvm::TimerGroup::printAll(), llvm::TimerGroup::printAllJSONValues(), llvm::TimerGroup::printJSONValues(), llvm::TimerGroup::TimerGroup(), and llvm::TimerGroup::~TimerGroup().