LLVM  10.0.0svn
Classes | Namespaces | Typedefs | Functions
TimeProfiler.cpp File Reference
#include "llvm/Support/TimeProfiler.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/JSON.h"
#include <cassert>
#include <chrono>
#include <string>
#include <vector>
Include dependency graph for TimeProfiler.cpp:

Go to the source code of this file.


struct  llvm::Entry
struct  llvm::TimeTraceProfiler


 This class represents lattice values for constants.


typedef duration< steady_clock::rep, steady_clock::period > llvm::DurationType
typedef time_point< steady_clock > llvm::TimePointType
typedef std::pair< size_t, DurationType > llvm::CountAndDurationType
typedef std::pair< std::string, CountAndDurationType > llvm::NameAndCountAndDurationType


void llvm::timeTraceProfilerInitialize (unsigned TimeTraceGranularity)
 Initialize the time trace profiler. More...
void llvm::timeTraceProfilerCleanup ()
 Cleanup the time trace profiler, if it was initialized. More...
void llvm::timeTraceProfilerWrite (raw_pwrite_stream &OS)
 Write profiling data to output file. More...
void llvm::timeTraceProfilerBegin (StringRef Name, StringRef Detail)
 Manually begin a time section, with the given Name and Detail. More...
void llvm::timeTraceProfilerBegin (StringRef Name, llvm::function_ref< std::string()> Detail)
void llvm::timeTraceProfilerEnd ()
 Manually end the last time section. More...