We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NANOSECONDS_PER_BASIC_BLOCK
1 parent 3b69f69 commit 9f39e3eCopy full SHA for 9f39e3e
src/shims/time.rs
@@ -6,6 +6,8 @@ use rustc_data_structures::sync::Ordering;
6
use crate::concurrency::thread::Time;
7
use crate::*;
8
9
+/// When using a virtual clock, this defines how many nanoseconds do we pretend
10
+/// are passing for each basic block.
11
const NANOSECOND_PER_BASIC_BLOCK: u64 = 10;
12
13
/// A monotone clock used for `Instant` simulation.
0 commit comments