|
HDK
|
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>
Inheritance diagram for VdfTestUtils::ExecutionStatsProcessor:Public Types | |
| typedef std::unordered_map < ExecutionStatsProcessor::ThreadId, std::vector < VdfExecutionStats::Event > > | ThreadToEvents |
Public Types inherited from VdfExecutionStatsProcessor | |
| typedef std::thread::id | ThreadId |
Public Member Functions | |
| ExecutionStatsProcessor () | |
| VDF_API | ~ExecutionStatsProcessor () |
Public Member Functions inherited from VdfExecutionStatsProcessor | |
| virtual VDF_API | ~VdfExecutionStatsProcessor () |
| VDF_API void | Process (const VdfExecutionStats *stats) |
| VDF_API const VdfNetwork * | GetNetwork () const |
Public Attributes | |
| ThreadToEvents | events |
| std::vector < ExecutionStatsProcessor * > | subStats |
Protected Member Functions | |
| VDF_API void | _ProcessEvent (VdfExecutionStatsProcessor::ThreadId threadId, const VdfExecutionStats::Event &event) override |
| VDF_API void | _ProcessSubStat (const VdfExecutionStats *stats) override |
Protected Member Functions inherited from VdfExecutionStatsProcessor | |
| VDF_API | VdfExecutionStatsProcessor () |
| virtual void | _PreProcess () |
| virtual void | _PostProcess () |
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.
| typedef std::unordered_map< ExecutionStatsProcessor::ThreadId, std::vector<VdfExecutionStats::Event> > VdfTestUtils::ExecutionStatsProcessor::ThreadToEvents |
Definition at line 571 of file testUtils.h.
|
inline |
Constructor.
Definition at line 560 of file testUtils.h.
| VDF_API VdfTestUtils::ExecutionStatsProcessor::~ExecutionStatsProcessor | ( | ) |
Destructor.
|
overrideprotectedvirtual |
Virtual method implementing process event for processing.
Implements VdfExecutionStatsProcessor.
|
overrideprotectedvirtual |
Virtual method implementing process sub stat for processing.
Implements VdfExecutionStatsProcessor.
| ThreadToEvents VdfTestUtils::ExecutionStatsProcessor::events |
Definition at line 573 of file testUtils.h.
| std::vector<ExecutionStatsProcessor*> VdfTestUtils::ExecutionStatsProcessor::subStats |
Definition at line 574 of file testUtils.h.