about summary refs log tree commit diff
path: root/library/std/src/time
AgeCommit message (Expand)AuthorLines
2025-01-26Move std::time unit tests to integration testsbjorn3-274/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+3
2023-05-05Rollup merge of #103056 - beetrees:timespec-bug-fix, r=thomccDylan DPC-0/+27
2022-11-13Fix non-associativity of `Instant` math on `aarch64-apple-darwin` targetsJoy-0/+8
2022-10-14Fix `checked_{add,sub}_duration` incorrectly returning `None` when `other` ha...beetrees-0/+27
2022-08-18make many std tests work in MiriRalf Jung-1/+2
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-3/+3
2022-02-13make Instant::{duration_since, elapsed, sub} saturating and remove workaroundsThe8472-144/+3
2021-10-30Add #[must_use] to remaining std functions (O-Z)John Kugelman-2/+2
2021-10-04Rollup merge of #88651 - AGSaidi:monotonize-inner-64b-aarch64, r=dtolnayManish Goregaokar-2/+2
2021-09-17use AtomicU64::fetch_update instead of handrolled RMW-loopThe8472-14/+9
2021-09-16fix potential race in AtomicU64 time monotonizerThe8472-28/+34
2021-09-04Use the 64b inner:monotonize() implementation not the 128b one for aarch64Ali Saidi-2/+2
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-08-20fix tests on wasm targets that have 32bit time_t and don't have threadsThe8472-2/+12
2021-08-17[review] fix commentthe8472-1/+1
2021-08-16correct overflows in the backslide case, add testThe8472-8/+48
2021-08-16Apply suggestions from code reviewthe8472-2/+2
2021-08-13add benchmarks for 1, 2, 4, 8, 16 threadsThe8472-0/+43
2021-08-13where available use 64- or 128bit atomics instead of a Mutex to monotonize timeThe8472-2/+120
2020-10-21Duration::zero() -> Duration::ZEROJubilee Young-3/+3
2020-10-21Dogfood Duration API in std::time testsJubilee Young-16/+16
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-0/+165