struct XRayFileHeader

Declaration

struct XRayFileHeader { /* full declaration omitted */ };

Description

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.

Declared at: llvm/include/llvm/XRay/XRayRecord.h:27

Member Variables

public uint16_t Version = 0
Version of the XRay implementation that produced this file.
public uint16_t Type = 0
A numeric identifier for the type of file this is. Best used in combination with Version.
public bool ConstantTSC
Whether the CPU that produced the timestamp counters (TSC) move at a constant rate.
public bool NonstopTSC
Whether the CPU that produced the timestamp counters (TSC) do not stop.
public uint64_t 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.
public char[16] FreeFormData