MCPcopy Create free account
hub / github.com/angular/angular / at

Method at

packages/compiler-cli/preprocessor/ng-analyze/src/perf/tests.rs:31–33  ·  view source on GitHub ↗

Sets the fake clock, in µs.

(&self, us: u64)

Source from the content-addressed store, hash-verified

29
30 /// Sets the fake clock, in µs.
31 fn at(&self, us: u64) {
32 self.clock.store(us * 1000, Relaxed);
33 }
34
35 fn on_thread<T: Send>(&self, name: &str, f: impl FnOnce() -> T + Send) -> T {
36 std::thread::scope(|s| {

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected