Loading...
Searching...
No Matches
ExecutionStatsProcessor Class Reference

Simple processor that processor ExecutionStats into a vector of vector of events and a vector of substats that mirrors the internal structure of ExecutionStats. More...

#include <testUtils.h>

Inherits VdfExecutionStatsProcessor.

Public Types

typedef std::unordered_map< ExecutionStatsProcessor::ThreadId, std::vector< VdfExecutionStats::Event > > ThreadToEvents
 

Public Member Functions

 ExecutionStatsProcessor ()
 Constructor.
 
VDF_API ~ExecutionStatsProcessor ()
 Destructor.
 

Public Attributes

ThreadToEvents events
 
std::vector< ExecutionStatsProcessor * > subStats
 

Protected Member Functions

VDF_API void _ProcessEvent (VdfExecutionStatsProcessor::ThreadId threadId, const VdfExecutionStats::Event &event) override
 Virtual method implementing process event for processing.
 
VDF_API void _ProcessSubStat (const VdfExecutionStats *stats) override
 Virtual method implementing process sub stat for processing.
 

Detailed Description

Simple processor that processor ExecutionStats into a vector of vector of events and a vector of substats that mirrors the internal structure of ExecutionStats.

Definition at line 555 of file testUtils.h.

Member Typedef Documentation

◆ ThreadToEvents

typedef std::unordered_map< ExecutionStatsProcessor::ThreadId, std::vector<VdfExecutionStats::Event> > ThreadToEvents

Definition at line 571 of file testUtils.h.

Constructor & Destructor Documentation

◆ ExecutionStatsProcessor()

Constructor.

Definition at line 560 of file testUtils.h.

◆ ~ExecutionStatsProcessor()

Destructor.

Member Function Documentation

◆ _ProcessEvent()

VDF_API void _ProcessEvent ( VdfExecutionStatsProcessor::ThreadId  threadId,
const VdfExecutionStats::Event event 
)
overrideprotected

Virtual method implementing process event for processing.

◆ _ProcessSubStat()

VDF_API void _ProcessSubStat ( const VdfExecutionStats stats)
overrideprotected

Virtual method implementing process sub stat for processing.

Member Data Documentation

◆ events

ThreadToEvents events

Definition at line 573 of file testUtils.h.

◆ subStats

std::vector<ExecutionStatsProcessor*> subStats

Definition at line 574 of file testUtils.h.


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