29 lines
560 B
C++
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
|