1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Measuring a stage of the turn in the unit its [`Signal`] is recorded in (ยง28).
//!
//! The provider signals of every model call are the tasks engine's
//! (`turnframe_tasks`); labels anywhere are keys, purposes and closed codes, never text.
use ;
use ;
/// Measures one stage, in the unit the signal it feeds is recorded in.
///
/// It reads [`Instant`] rather than the runtime's [`TurnClock`](crate::orchestrator::TurnClock)
/// on purpose: the clock is stopped in tests and may be stepped by a scenario,
/// and a latency histogram that reports whatever a fixture decided is worse
/// than none.
pub