LLVM 20.0.0git
|
XRay traces all have a header providing some top-matter information useful to help tools determine how to interpret the information available in the trace. More...
#include "llvm/XRay/XRayRecord.h"
Public Attributes | |
uint16_t | Version = 0 |
Version of the XRay implementation that produced this file. | |
uint16_t | Type = 0 |
A numeric identifier for the type of file this is. | |
bool | ConstantTSC = false |
Whether the CPU that produced the timestamp counters (TSC) move at a constant rate. | |
bool | NonstopTSC = false |
Whether the CPU that produced the timestamp counters (TSC) do not stop. | |
uint64_t | CycleFrequency = 0 |
The number of cycles per second for the CPU that produced the timestamp counter (TSC) values. | |
char | FreeFormData [16] = {} |
XRay traces all have a header providing some top-matter information useful to help tools determine how to interpret the information available in the trace.
Definition at line 27 of file XRayRecord.h.
bool llvm::xray::XRayFileHeader::ConstantTSC = false |
Whether the CPU that produced the timestamp counters (TSC) move at a constant rate.
Definition at line 37 of file XRayRecord.h.
Referenced by llvm::xray::readBinaryFormatHeader().
uint64_t llvm::xray::XRayFileHeader::CycleFrequency = 0 |
The number of cycles per second for the CPU that produced the timestamp counter (TSC) values.
Useful for estimating the amount of time that elapsed between two TSCs on some platforms.
Definition at line 45 of file XRayRecord.h.
Referenced by llvm::xray::readBinaryFormatHeader().
char llvm::xray::XRayFileHeader::FreeFormData[16] = {} |
Definition at line 50 of file XRayRecord.h.
Referenced by llvm::xray::FDRTraceWriter::FDRTraceWriter(), and llvm::xray::readBinaryFormatHeader().
bool llvm::xray::XRayFileHeader::NonstopTSC = false |
Whether the CPU that produced the timestamp counters (TSC) do not stop.
Definition at line 40 of file XRayRecord.h.
Referenced by llvm::xray::readBinaryFormatHeader().
uint16_t llvm::xray::XRayFileHeader::Type = 0 |
A numeric identifier for the type of file this is.
Best used in combination with Version.
Definition at line 33 of file XRayRecord.h.
Referenced by llvm::xray::readBinaryFormatHeader().
uint16_t llvm::xray::XRayFileHeader::Version = 0 |
Version of the XRay implementation that produced this file.
Definition at line 29 of file XRayRecord.h.
Referenced by llvm::xray::readBinaryFormatHeader().