LLVM
13.0.0git
|
#include "llvm/XRay/Profile.h"
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/XRay/Trace.h"
#include <deque>
#include <memory>
Go to the source code of this file.
Namespaces | |
llvm | |
llvm::xray | |
Functions | |
Profile | llvm::xray::mergeProfilesByThread (const Profile &L, const Profile &R) |
This algorithm will merge two Profile instances into a single Profile instance, aggregating blocks by Thread ID. More... | |
Profile | llvm::xray::mergeProfilesByStack (const Profile &L, const Profile &R) |
This algorithm will merge two Profile instances into a single Profile instance, aggregating blocks by function call stack. More... | |
Expected< Profile > | llvm::xray::loadProfile (StringRef Filename) |
This function will attempt to load an XRay Profiling Mode profile from the provided |Filename|. More... | |
Expected< Profile > | llvm::xray::profileFromTrace (const Trace &T) |
This function takes a Trace and creates a Profile instance from it. More... | |
Profile::FuncID FuncId |
Definition at line 321 of file Profile.cpp.
Referenced by llvm::codeview::DebugInlineeLinesSubsection::addInlineSite(), llvm::MCStreamer::checkCVLocSection(), llvm::CodeViewContext::emitLineTableForFunction(), llvm::xray::FunctionRecord::functionId(), llvm::CodeViewContext::getCVFunctionInfo(), llvm::xray::InstrumentationMap::getFunctionAddr(), llvm::CodeViewContext::getFunctionLineEntries(), llvm::CodeViewContext::getLineExtent(), loadObj(), llvm::xray::profileFromTrace(), llvm::CodeViewContext::recordFunctionId(), and llvm::CodeViewContext::recordInlinedCallSiteId().
uint32_t Number |
Definition at line 47 of file Profile.cpp.
Referenced by llvm::SpillPlacement::addLinks(), FunctionParam::FunctionParam(), llvm::SpillPlacement::getBlockFrequency(), llvm::DIEAbbrev::getNumber(), llvm::object::coff_aux_section_definition::getNumber(), llvm::MachineBasicBlock::getNumber(), FunctionParam::match(), maybeLexIndexAndName(), maybeLexMachineBasicBlock(), FunctionParam::printLeft(), rol(), llvm::DIEAbbrev::setNumber(), and llvm::MachineBasicBlock::setNumber().
uint32_t Size |
Definition at line 46 of file Profile.cpp.
uint64_t Thread |
Definition at line 48 of file Profile.cpp.
uint64_t Timestamp |
Definition at line 320 of file Profile.cpp.