Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::gpu::anonymous_namespace{work_graph_stats.cpp} Namespace Reference

Functions

GraphNodeCounters ReadNode (std::span< const uint32_t > words, uint32_t node)
void EvaluateNode (const GraphNodeLimits &limits, const GraphNodeCounters &counters, uint32_t index, std::vector< GraphFinding > &findings)
void EvaluateGauge (const GraphGaugeLimits &limits, uint32_t peak, uint32_t index, std::vector< GraphFinding > &findings)

Variables

constexpr uint32_t KIND_COUNT = static_cast<uint32_t>(GraphFindingKind::Count)
constexpr uint32_t FINDING_SLOTS_PER_KIND = std::max(WG_STATS_MAX_NODES, WG_STATS_MAX_GAUGES)

Function Documentation

◆ EvaluateGauge()

void bicameral::gpu::anonymous_namespace{work_graph_stats.cpp}::EvaluateGauge ( const GraphGaugeLimits & limits,
uint32_t peak,
uint32_t index,
std::vector< GraphFinding > & findings )

Definition at line 60 of file work_graph_stats.cpp.

References bicameral::gpu::GraphGaugeLimits::capacity, EvaluateGauge(), bicameral::gpu::GaugeNearCapacity, bicameral::gpu::GaugeOverCapacity, bicameral::gpu::GraphGaugeLimits::name, and bicameral::gpu::GraphGaugeLimits::warnPercent.

Referenced by EvaluateGauge().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EvaluateNode()

void bicameral::gpu::anonymous_namespace{work_graph_stats.cpp}::EvaluateNode ( const GraphNodeLimits & limits,
const GraphNodeCounters & counters,
uint32_t index,
std::vector< GraphFinding > & findings )

◆ ReadNode()

GraphNodeCounters bicameral::gpu::anonymous_namespace{work_graph_stats.cpp}::ReadNode ( std::span< const uint32_t > words,
uint32_t node )

Definition at line 16 of file work_graph_stats.cpp.

References ReadNode().

Referenced by ReadNode().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ FINDING_SLOTS_PER_KIND

uint32_t bicameral::gpu::anonymous_namespace{work_graph_stats.cpp}::FINDING_SLOTS_PER_KIND = std::max(WG_STATS_MAX_NODES, WG_STATS_MAX_GAUGES)
constexpr

Definition at line 14 of file work_graph_stats.cpp.

◆ KIND_COUNT

uint32_t bicameral::gpu::anonymous_namespace{work_graph_stats.cpp}::KIND_COUNT = static_cast<uint32_t>(GraphFindingKind::Count)
constexpr

Definition at line 13 of file work_graph_stats.cpp.