Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
work_graph_stats.cpp File Reference
#include "gpu/work_graph_stats.h"
#include <algorithm>
#include <format>
#include <span>
#include "core/log.h"
Include dependency graph for work_graph_stats.cpp:

Go to the source code of this file.

Namespaces

namespace  bicameral
namespace  bicameral::gpu
namespace  bicameral::gpu::anonymous_namespace{work_graph_stats.cpp}

Functions

GraphNodeCounters bicameral::gpu::anonymous_namespace{work_graph_stats.cpp}::ReadNode (std::span< const uint32_t > words, uint32_t node)
void bicameral::gpu::anonymous_namespace{work_graph_stats.cpp}::EvaluateNode (const GraphNodeLimits &limits, const GraphNodeCounters &counters, uint32_t index, std::vector< GraphFinding > &findings)
void bicameral::gpu::anonymous_namespace{work_graph_stats.cpp}::EvaluateGauge (const GraphGaugeLimits &limits, uint32_t peak, uint32_t index, std::vector< GraphFinding > &findings)
void bicameral::gpu::AccumulateGraphStats (GraphStatsSnapshot &total, const GraphStatsSnapshot &frame)
std::string bicameral::gpu::FormatGraphStats (const GraphStatsLayout &layout, const GraphStatsSnapshot &snapshot)
std::vector< GraphFinding > bicameral::gpu::EvaluateGraphStats (const GraphStatsLayout &layout, const GraphStatsSnapshot &snapshot)

Variables

constexpr uint32_t bicameral::gpu::anonymous_namespace{work_graph_stats.cpp}::KIND_COUNT = static_cast<uint32_t>(GraphFindingKind::Count)
constexpr uint32_t bicameral::gpu::anonymous_namespace{work_graph_stats.cpp}::FINDING_SLOTS_PER_KIND = std::max(WG_STATS_MAX_NODES, WG_STATS_MAX_GAUGES)