Skip to content

Commit 5157b87

Browse files
JOE1994RalfJung
andauthored
Update comments in src/shims/time.rs
Co-Authored-By: Ralf Jung <[email protected]>
1 parent a494825 commit 5157b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
124124
this.assert_target_os("windows", "QueryPerformanceCounter");
125125
this.check_no_isolation("QueryPerformanceCounter")?;
126126

127-
// QPC uses a hardware counter as its basis.
127+
// QueryPerformanceCounter uses a hardware counter as its basis.
128128
// Miri will emulate a counter with a resolution of 1 nanosecond.
129129
let duration = Instant::now().duration_since(this.machine.time_anchor);
130130
let qpc = i64::try_from(duration.as_nanos())

0 commit comments

Comments
 (0)