LLVM  14.0.0git
Namespaces | Functions
Profile.cpp File Reference
#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>
Include dependency graph for Profile.cpp:

Go to the source code of this file.

Namespaces

 llvm
 ---------------------— PointerInfo ------------------------------------—
 
 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...
 

Variable Documentation

◆ FuncId

Profile::FuncID FuncId

◆ Number

uint32_t Number

◆ Size

uint32_t Size

Definition at line 46 of file Profile.cpp.

◆ Thread

uint64_t Thread

◆ Timestamp

uint64_t Timestamp

Definition at line 320 of file Profile.cpp.