Loading...
Searching...
No Matches
ExecutionStats Class Reference

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

#include <testUtils.h>

Public Member Functions

 ExecutionStats ()
 Constructor.
 
 ~ExecutionStats ()
 Destructor.
 
VDF_API void Log (VdfExecutionStats::EventType event, VdfId nodeId, uint64_t data)
 Public log function.
 
VDF_API void LogBegin (VdfExecutionStats::EventType event, VdfId nodeId, uint64_t data)
 Public log begin function.
 
VDF_API void LogEnd (VdfExecutionStats::EventType event, VdfId nodeId, uint64_t data)
 Public log end function.
 
VDF_API void GetProcessedStats (VdfExecutionStatsProcessor *processor) const
 Processes the processor using the internally held stats.
 
VDF_API void AddSubStat (VdfId nodeId)
 Adds a sub stat to the internally held ExecutionStats.
 

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

◆ ExecutionStats()

ExecutionStats ( )
inline

Constructor.

Definition at line 602 of file testUtils.h.

◆ ~ExecutionStats()

~ExecutionStats ( )
inline

Destructor.

Definition at line 606 of file testUtils.h.

Member Function Documentation

◆ AddSubStat()

VDF_API void AddSubStat ( VdfId  nodeId)

Adds a sub stat to the internally held ExecutionStats.

◆ GetProcessedStats()

VDF_API void GetProcessedStats ( VdfExecutionStatsProcessor *  processor) const

Processes the processor using the internally held stats.

◆ Log()

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

Public log function.

◆ LogBegin()

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

Public log begin function.

◆ LogEnd()

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

Public log end function.


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