Added nanosecond-accuracy time debug
This commit is contained in:
parent
d748a8fe2d
commit
38a9f8f2c7
@ -7,7 +7,7 @@ use std::time::{Duration, Instant};
|
|||||||
// if REALTIME is false, the simulation runs as fast as possible and doesn't run the display function
|
// if REALTIME is false, the simulation runs as fast as possible and doesn't run the display function
|
||||||
const UPDATE_INTERVAL: u32 = 40;
|
const UPDATE_INTERVAL: u32 = 40;
|
||||||
const TIMESCALE: f32 = 1.0;
|
const TIMESCALE: f32 = 1.0;
|
||||||
const REALTIME: bool = false;
|
const REALTIME: bool = true;
|
||||||
|
|
||||||
// debug constants
|
// debug constants
|
||||||
const DEBUG_LOOP: bool = false;
|
const DEBUG_LOOP: bool = false;
|
||||||