Files
Renderive/Core/flow/Flow_Diagnostics.h
T
2026-08-02 14:20:27 +08:00

29 lines
560 B
C++

#pragma once
#include "../architecture/Frame_Scheduler.h"
#include <cstdint>
#include <variant>
namespace renderive {
struct Common_Flow_Diagnostics {
bool active{};
};
struct Low_Latency_Diagnostics {
bool active{};
double max_render_fps{};
Refresh_Control_Snapshot refresh;
};
struct Explicit_Diagnostics {
bool active{};
std::uint64_t pending_request_count{};
};
struct Flow_Diagnostics {
Common_Flow_Diagnostics common;
std::variant<Low_Latency_Diagnostics, Explicit_Diagnostics> strategy;
};
} // namespace renderive