HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VdfTestUtils::ExecutionStats Class Reference

Simple wrapper around ExecutionStats that allows for logging arbitrary data for testing. More...

#include <testUtils.h>

Public Member Functions

 ExecutionStats ()
 
 ~ExecutionStats ()
 
VDF_API void Log (VdfExecutionStats::EventType event, VdfId nodeId, uint64_t data)
 
VDF_API void LogBegin (VdfExecutionStats::EventType event, VdfId nodeId, uint64_t data)
 
VDF_API void LogEnd (VdfExecutionStats::EventType event, VdfId nodeId, uint64_t data)
 
VDF_API void GetProcessedStats (VdfExecutionStatsProcessor *processor) const
 
VDF_API void AddSubStat (VdfId nodeId)
 

Detailed Description

Simple wrapper around ExecutionStats that allows for logging arbitrary data for testing.

Definition at line 597 of file testUtils.h.

Constructor & Destructor Documentation

VdfTestUtils::ExecutionStats::ExecutionStats ( )
inline

Constructor.

Definition at line 602 of file testUtils.h.

VdfTestUtils::ExecutionStats::~ExecutionStats ( )
inline

Destructor.

Definition at line 606 of file testUtils.h.

Member Function Documentation

VDF_API void VdfTestUtils::ExecutionStats::AddSubStat ( VdfId  nodeId)

Adds a sub stat to the internally held ExecutionStats.

VDF_API void VdfTestUtils::ExecutionStats::GetProcessedStats ( VdfExecutionStatsProcessor processor) const

Processes the processor using the internally held stats.

VDF_API void VdfTestUtils::ExecutionStats::Log ( VdfExecutionStats::EventType  event,
VdfId  nodeId,
uint64_t  data 
)

Public log function.

VDF_API void VdfTestUtils::ExecutionStats::LogBegin ( VdfExecutionStats::EventType  event,
VdfId  nodeId,
uint64_t  data 
)

Public log begin function.

VDF_API void VdfTestUtils::ExecutionStats::LogEnd ( VdfExecutionStats::EventType  event,
VdfId  nodeId,
uint64_t  data 
)

Public log end function.


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