LLVM  6.0.0svn
Public Attributes | List of all members
llvm::xray::XRayFileHeader Struct Reference

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"

Collaboration diagram for llvm::xray::XRayFileHeader:
Collaboration graph
[legend]

Public Attributes

uint16_t Version = 0
 Version of the XRay implementation that produced this file. More...
 
uint16_t Type = 0
 A numeric identifier for the type of file this is. More...
 
bool ConstantTSC
 Whether the CPU that produced the timestamp counters (TSC) move at a constant rate. More...
 
bool NonstopTSC
 Whether the CPU that produced the timestamp counters (TSC) do not stop. More...
 
uint64_t CycleFrequency = 0
 The number of cycles per second for the CPU that produced the timestamp counter (TSC) values. More...
 
char FreeFormData [16]
 

Detailed 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.

Definition at line 27 of file XRayRecord.h.

Member Data Documentation

◆ ConstantTSC

bool llvm::xray::XRayFileHeader::ConstantTSC

Whether the CPU that produced the timestamp counters (TSC) move at a constant rate.

Definition at line 37 of file XRayRecord.h.

◆ CycleFrequency

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.

◆ FreeFormData

char llvm::xray::XRayFileHeader::FreeFormData[16]

Definition at line 50 of file XRayRecord.h.

◆ NonstopTSC

bool llvm::xray::XRayFileHeader::NonstopTSC

Whether the CPU that produced the timestamp counters (TSC) do not stop.

Definition at line 40 of file XRayRecord.h.

◆ Type

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.

◆ Version

uint16_t llvm::xray::XRayFileHeader::Version = 0

Version of the XRay implementation that produced this file.

Definition at line 29 of file XRayRecord.h.


The documentation for this struct was generated from the following file: