From 0f120ca3eee991566cda704be13b0b1e41dc8d66 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 18 Jan 2025 01:21:46 +0100 Subject: more profiler things --- client/src/interfaces/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/interfaces/mod.rs') diff --git a/client/src/interfaces/mod.rs b/client/src/interfaces/mod.rs index 09db60f..eb0eb86 100644 --- a/client/src/interfaces/mod.rs +++ b/client/src/interfaces/mod.rs @@ -20,7 +20,7 @@ pub mod profiler; use crate::{download::Downloader, network::Network, scene_prepare::ScenePreparer}; use egui::Widget; use prefabindex::PrefabIndexInterface; -use profiler::Profiler; +use profiler::{Profiler, TimingProfiler}; use std::sync::{Arc, Mutex}; use weareshared::resources::PrefabIndex; @@ -35,6 +35,7 @@ pub struct InterfaceData { pub network: Arc, pub downloader: Arc, pub prefab_index: Arc, + pub render_timing: Arc>, } pub fn ui_selector(idata: Arc) -> impl Fn(&egui::Context) -> bool { -- cgit v1.2.3-70-g09d2