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.
Classes | |
class | llvm::TimerGlobals |
Namespaces | |
namespace | mtg |
Functions | |
static std::string & | mtg::LibSupportInfoOutputFilename () |
static const std::string & | mtg::InfoOutputFilename () |
static bool | mtg::TrackSpace () |
static bool | mtg::SortTimers () |
static SignpostEmitter & | mtg::Signposts () |
static sys::SmartMutex< true > & | mtg::TimerLock () |
static TimerGroup & | mtg::DefaultTimerGroup () |
static TimerGroup * | mtg::claimDefaultTimerGroup () |
static Name2PairMap & | mtg::NamedGroupedTimers () |
static size_t | getMemUsage () |
static uint64_t | getCurInstructionsExecuted () |
static void | printVal (double Val, double Total, raw_ostream &OS) |
Variables | |
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 ManagedStatic< TimerGlobals > | ManagedTimerGlobals |
|
static |
Definition at line 124 of file Timer.cpp.
Referenced by llvm::TimeRecord::getCurrentTime().
|
inlinestatic |
Definition at line 118 of file Timer.cpp.
References llvm::sys::Process::GetMallocUsage(), and mtg::TrackSpace().
Referenced by llvm::TimeRecord::getCurrentTime().
|
static |
Definition at line 177 of file Timer.cpp.
References llvm::format(), OS, and llvm::Total.
Referenced by llvm::TimeRecord::print().
|
static |
Definition at line 557 of file Timer.cpp.
Referenced by mtg::claimDefaultTimerGroup(), mtg::DefaultTimerGroup(), mtg::InfoOutputFilename(), mtg::LibSupportInfoOutputFilename(), mtg::NamedGroupedTimers(), mtg::Signposts(), mtg::SortTimers(), mtg::TimerLock(), and mtg::TrackSpace().
|
static |
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::clearAll(), llvm::TimerGroup::printAll(), and llvm::TimerGroup::printAllJSONValues().