This commit is contained in:
2026-08-15 19:58:39 +08:00
parent 8bfaeeb265
commit 26bbc29a16
29 changed files with 622 additions and 201 deletions
@@ -630,6 +630,7 @@ public:
render_performance.automatic_low_latency_scheduler =
automatic_low_latency_ && frame_mode_ == Gallery_Frame_Mode::Low_Latency;
const Gallery_Client_Performance client_performance = client_performance_;
const auto scene_execution = plot_.render_scene().execution_statistics();
nlohmann::json observer_data =
adminive::to_frontend_json<nlohmann::json>(observer);
nlohmann::json consumer_feedback_data =
@@ -656,6 +657,13 @@ public:
{"client_performance", std::move(client_performance_data)},
{"scheduler", adminive::to_frontend_json<nlohmann::json>(
renderive::scheduling::scheduler_statistics())},
{"queue_pressure",
{{"scene_execution",
{{"capacity", scene_execution.capacity},
{"queued", scene_execution.queued},
{"peak_queued", scene_execution.peak_queued},
{"backpressure_count", scene_execution.backpressure_count},
{"backpressure_wait_ns", scene_execution.backpressure_wait_ns}}}}},
{"renderable_observers", controls_.observers(plot_.render_scene())},
{"performance_capture", gallery_performance_capture_json(plot_.render_scene())},
{"last_action_result", last_action_result_}