(spec: DemoServerSpec, point: usize, multiplier: usize)
| 937 | |
| 938 | fn traffic_bytes(spec: DemoServerSpec, point: usize, multiplier: usize) -> i64 { |
| 939 | let seed = spec.id_suffix.parse::<usize>().unwrap_or(1); |
| 940 | (20 + wave(seed + multiplier, point, 900) as i64) * 1024 * 1024 |
| 941 | } |
| 942 | |
| 943 | /// Wall-clock timestamp (seconds) captured the first time a live demo sample is |
| 944 | /// requested, i.e. roughly the demo process start. Anchors `live_sample_index` |
| 945 | /// so it counts ticks elapsed since startup instead of the absolute Unix epoch. |
no test coverage detected