Lines Matching refs:ms
16 assert_ready_eq!(poll_next(&mut $i), $start + ms($delta));
28 let _ = time::interval_at(Instant::now(), ms(0)); in interval_zero_duration()
47 time::advance(ms(1)).await; in burst()
49 let mut i = task::spawn(time::interval_at(start, ms(300))); in burst()
53 time::advance(ms(100)).await; in burst()
56 time::advance(ms(200)).await; in burst()
59 time::advance(ms(650)).await; in burst()
62 time::advance(ms(200)).await; in burst()
65 time::advance(ms(100)).await; in burst()
68 time::advance(ms(250)).await; in burst()
71 time::advance(ms(300)).await; in burst()
91 time::advance(ms(1)).await; in delay()
93 let mut i = task::spawn(time::interval_at(start, ms(300))); in delay()
98 time::advance(ms(100)).await; in delay()
101 time::advance(ms(200)).await; in delay()
104 time::advance(ms(650)).await; in delay()
107 time::advance(ms(100)).await; in delay()
114 time::advance(ms(201)).await; in delay()
120 time::advance(ms(300)).await; in delay()
124 time::advance(ms(300)).await; in delay()
143 time::advance(ms(1)).await; in skip()
145 let mut i = task::spawn(time::interval_at(start, ms(300))); in skip()
150 time::advance(ms(100)).await; in skip()
153 time::advance(ms(200)).await; in skip()
156 time::advance(ms(650)).await; in skip()
159 time::advance(ms(250)).await; in skip()
162 time::advance(ms(300)).await; in skip()
165 time::advance(ms(300)).await; in skip()
176 time::advance(ms(1)).await; in reset()
178 let mut i = task::spawn(time::interval_at(start, ms(300))); in reset()
182 time::advance(ms(100)).await; in reset()
185 time::advance(ms(200)).await; in reset()
188 time::advance(ms(100)).await; in reset()
193 time::advance(ms(250)).await; in reset()
196 time::advance(ms(50)).await; in reset()
201 time::advance(ms(300)).await; in reset()
209 fn ms(n: u64) -> Duration { in ms() function