This commit is contained in:
2026-08-15 17:44:35 +08:00
parent b4094ede44
commit d48f6608ad
18 changed files with 310 additions and 280 deletions
+11
View File
@@ -4,6 +4,7 @@
#include "Gallery_Observer_Adminive.h"
#include "Gallery_Renderables.h"
#include "Gallery_Session_Control_Adminive.h"
#include "common/Gallery_Scheduler_Adminive.h"
#include "adminive/adminive.hpp"
#include "adminive/adapters/nlohmann_json.hpp"
@@ -392,6 +393,10 @@ Json dashboard_contract() {
dashboard_field("呈现 P95 ms", "client_performance.display_interval_p95_ms", "fixed", 2),
dashboard_field("呈现 P99 ms", "client_performance.display_interval_p99_ms", "fixed", 2),
dashboard_field("响应负载 MB/s", "performance.pixel_payload_megabytes_per_second", "fixed", 1),
dashboard_field("TBB 并发度", "scheduler.concurrency"),
dashboard_field("活动 Worker", "scheduler.active_workers"),
dashboard_field("峰值 Worker", "scheduler.peak_workers"),
dashboard_field("活动外部线程", "scheduler.active_external_threads"),
described_dashboard_field<renderive::Plot_Frame_Status>(
"kernel_observer", "pending_frame_count"),
described_dashboard_field<renderive::Plot_Frame_Status>(
@@ -433,6 +438,12 @@ Json dashboard_contract() {
{"source", "client_performance"},
{"descriptor", adminive::to_descriptor_json<
Json, Gallery_Client_Performance>()}
},
{
{"title", "oneTBB 调度器"},
{"source", "scheduler"},
{"descriptor", adminive::to_descriptor_json<
Json, renderive::scheduling::Scheduler_Statistics>()}
}
})}
}}