driver: TODO: split diagnostics into their own struct
This commit is contained in:
@@ -22,6 +22,7 @@ pub struct Driver<S> {
|
|||||||
// TODO: use Rayon's thread pool?
|
// TODO: use Rayon's thread pool?
|
||||||
render_pool: ThreadPool,
|
render_pool: ThreadPool,
|
||||||
render_channel: (SyncSender<()>, Receiver<()>),
|
render_channel: (SyncSender<()>, Receiver<()>),
|
||||||
|
// TODO: split out into a Diagnostics struct
|
||||||
time_spent_stepping: Duration,
|
time_spent_stepping: Duration,
|
||||||
time_spent_on_stimuli: Duration,
|
time_spent_on_stimuli: Duration,
|
||||||
time_spent_prepping_render: Duration,
|
time_spent_prepping_render: Duration,
|
||||||
|
Reference in New Issue
Block a user