LLDB mainline
Public Member Functions | Public Attributes | List of all members
lldb_private::trace_intel_pt::DecodedThread::TSCRange Struct Reference

A structure that represents a maximal range of trace items associated to the same TSC value. More...

#include <DecodedThread.h>

Public Member Functions

bool InRange (uint64_t item_index) const
 

Public Attributes

TSC tsc
 
uint64_t items_count
 Number of trace items in this range.
 
uint64_t first_item_index
 Index of the first trace item in this range.
 

Detailed Description

A structure that represents a maximal range of trace items associated to the same TSC value.

Definition at line 68 of file DecodedThread.h.

Member Function Documentation

◆ InRange()

bool DecodedThread::TSCRange::InRange ( uint64_t  item_index) const
Returns
true if and only if the given item_index is covered by this range.

Definition at line 33 of file DecodedThread.cpp.

References first_item_index, and items_count.

Member Data Documentation

◆ first_item_index

uint64_t lldb_private::trace_intel_pt::DecodedThread::TSCRange::first_item_index

Index of the first trace item in this range.

Definition at line 73 of file DecodedThread.h.

Referenced by InRange().

◆ items_count

uint64_t lldb_private::trace_intel_pt::DecodedThread::TSCRange::items_count

Number of trace items in this range.

Definition at line 71 of file DecodedThread.h.

Referenced by InRange().

◆ tsc

TSC lldb_private::trace_intel_pt::DecodedThread::TSCRange::tsc

Definition at line 69 of file DecodedThread.h.


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