|
HDK
|
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) |
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.
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.