diff options
| author | bors <bors@rust-lang.org> | 2022-09-13 21:20:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-13 21:20:13 +0000 |
| commit | 2f1fa12659ac6b852a9dec46b79a0b02736f4e44 (patch) | |
| tree | d4aff5aa053c6916728623863cd834b54d329d58 /src/test/codegen/src-hash-algorithm | |
| parent | 7e66a9ff1690a7b4e0b46110350814ff8de251c9 (diff) | |
| parent | c8346376264ea99cafd6550b5b5f460cf82b326f (diff) | |
| download | rust-2f1fa12659ac6b852a9dec46b79a0b02736f4e44.tar.gz rust-2f1fa12659ac6b852a9dec46b79a0b02736f4e44.zip | |
Auto merge of #2506 - pvdrz:a-really-bad-clock, r=saethlin
Make `sleep` work with isolation enabled Implement a virtual monotone clock that can be used to track time while isolation is enabled. This virtual clock keeps an internal nanoseconds counter that will be increased by a fixed amount at the end of every basic block. When a process sleeps, this clock will return immediately and increase the counter by the interval the process was supposed to sleep. Making miri execution faster than native code :trollface:. cc `@RalfJung` `@saethlin` `@JakobDegen`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
