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

#include <DecodedThread.h>

Collaboration diagram for lldb_private::trace_intel_pt::DecodedThread::EventsStats:
Collaboration graph

Public Member Functions

void RecordEvent (lldb::TraceEvent event)

Public Attributes

std::unordered_map< lldb::TraceEvent, size_t > events_counts
 A count for each individual event kind. More...
size_t total_count = 0

Detailed Description

Definition at line 124 of file DecodedThread.h.

Member Function Documentation

◆ RecordEvent()

void DecodedThread::EventsStats::RecordEvent ( lldb::TraceEvent  event)

Member Data Documentation

◆ events_counts

std::unordered_map<lldb::TraceEvent, size_t> lldb_private::trace_intel_pt::DecodedThread::EventsStats::events_counts

A count for each individual event kind.

We use an unordered map instead of a DenseMap because DenseMap can't understand enums.

Definition at line 127 of file DecodedThread.h.

Referenced by lldb_private::trace_intel_pt::TraceIntelPT::DumpTraceInfo(), and lldb_private::trace_intel_pt::TraceIntelPT::DumpTraceInfoAsJson().

◆ total_count

size_t lldb_private::trace_intel_pt::DecodedThread::EventsStats::total_count = 0

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