From 15fc7b91dc66c1b93a48b162ee32a871e1f5260e Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 28 Jul 2022 02:06:34 -0700 Subject: [PATCH] driver: TODO: split diagnostics into their own struct --- crates/coremem/src/driver.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/coremem/src/driver.rs b/crates/coremem/src/driver.rs index d09da0e..3af94c3 100644 --- a/crates/coremem/src/driver.rs +++ b/crates/coremem/src/driver.rs @@ -22,6 +22,7 @@ pub struct Driver { // TODO: use Rayon's thread pool? render_pool: ThreadPool, render_channel: (SyncSender<()>, Receiver<()>), + // TODO: split out into a Diagnostics struct time_spent_stepping: Duration, time_spent_on_stimuli: Duration, time_spent_prepping_render: Duration,