EntropyEngine::Core::Concurrency::WorkGraphStats::Snapshot
EntropyEngine::Core::Concurrency::WorkGraphStats::Snapshot
Section titled “EntropyEngine::Core::Concurrency::WorkGraphStats::Snapshot”Frozen moment in time - all stats captured atomically. More…
#include <WorkGraphTypes.h>
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| uint32_t | totalNodes |
| std::chrono::steady_clock::duration | totalExecutionTime |
| uint32_t | scheduledNodes |
| uint32_t | readyNodes |
| uint32_t | pendingNodes |
| size_t | memoryUsage |
| uint32_t | failedNodes |
| uint32_t | executingNodes |
| uint32_t | completedNodes |
| uint32_t | cancelledNodes |
Detailed Description
Section titled “Detailed Description”struct EntropyEngine::Core::Concurrency::WorkGraphStats::Snapshot;Frozen moment in time - all stats captured atomically.
Since the live stats change constantly, this snapshot gives you a consistent view where all numbers add up correctly. The individual atomic loads use relaxed ordering for speed - we don’t need strict ordering since we’re just reading counters.
Public Attributes Documentation
Section titled “Public Attributes Documentation”variable totalNodes
Section titled “variable totalNodes”uint32_t totalNodes = 0;variable totalExecutionTime
Section titled “variable totalExecutionTime”std::chrono::steady_clock::duration totalExecutionTime {};variable scheduledNodes
Section titled “variable scheduledNodes”uint32_t scheduledNodes = 0;variable readyNodes
Section titled “variable readyNodes”uint32_t readyNodes = 0;variable pendingNodes
Section titled “variable pendingNodes”uint32_t pendingNodes = 0;variable memoryUsage
Section titled “variable memoryUsage”size_t memoryUsage = 0;variable failedNodes
Section titled “variable failedNodes”uint32_t failedNodes = 0;variable executingNodes
Section titled “variable executingNodes”uint32_t executingNodes = 0;variable completedNodes
Section titled “variable completedNodes”uint32_t completedNodes = 0;variable cancelledNodes
Section titled “variable cancelledNodes”uint32_t cancelledNodes = 0;Updated on 2026-01-26 at 17:14:35 -0500