LLVM
13.0.0git
|
#include "llvm/Support/TimeProfiler.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/JSON.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/Threading.h"
#include <algorithm>
#include <cassert>
#include <chrono>
#include <mutex>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
struct | llvm::TimeTraceProfiler |
Typedefs | |
typedef duration< steady_clock::rep, steady_clock::period > | DurationType |
typedef time_point< steady_clock > | TimePointType |
typedef std::pair< size_t, DurationType > | CountAndDurationType |
typedef std::pair< std::string, CountAndDurationType > | NameAndCountAndDurationType |
Variables | |
static std::mutex | Mu |
static std::vector< TimeTraceProfiler * > | ThreadTimeTraceProfilerInstances |
static LLVM_THREAD_LOCAL TimeTraceProfiler * | TimeTraceProfilerInstance = nullptr |
typedef std::pair<size_t, DurationType> CountAndDurationType |
Definition at line 44 of file TimeProfiler.cpp.
typedef duration<steady_clock::rep, steady_clock::period> DurationType |
Definition at line 42 of file TimeProfiler.cpp.
typedef std::pair<std::string, CountAndDurationType> NameAndCountAndDurationType |
Definition at line 46 of file TimeProfiler.cpp.
typedef time_point<steady_clock> TimePointType |
Definition at line 43 of file TimeProfiler.cpp.
|
static |
Definition at line 31 of file TimeProfiler.cpp.
Referenced by llvm::timeTraceProfilerCleanup(), llvm::timeTraceProfilerFinishThread(), and llvm::TimeTraceProfiler::write().
|
static |
Definition at line 34 of file TimeProfiler.cpp.
Referenced by llvm::timeTraceProfilerCleanup(), llvm::timeTraceProfilerFinishThread(), and llvm::TimeTraceProfiler::write().
|
static |
Definition at line 36 of file TimeProfiler.cpp.
Referenced by llvm::getTimeTraceProfilerInstance(), llvm::timeTraceProfilerBegin(), llvm::timeTraceProfilerCleanup(), llvm::timeTraceProfilerEnd(), llvm::timeTraceProfilerFinishThread(), llvm::timeTraceProfilerInitialize(), and llvm::timeTraceProfilerWrite().