![]() |
|
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. | |
Simple wrapper around ExecutionStats that allows for logging arbitrary data for testing.
Definition at line 597 of file testUtils.h.
|
inline |
Constructor.
Definition at line 602 of file testUtils.h.
|
inline |
Destructor.
Definition at line 606 of file testUtils.h.
| VDF_API void AddSubStat | ( | VdfId | nodeId | ) |
Adds a sub stat to the internally held ExecutionStats.
| VDF_API void GetProcessedStats | ( | VdfExecutionStatsProcessor * | processor | ) | const |
Processes the processor using the internally held stats.
| 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.