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
40
41
42
43
44
[](https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/clock/RustyPhoenixClockMockBackend/-/pipelines)
[](https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/clock/RustyPhoenixClockMockBackend/-/releases)
[](https://cta-lapp.pages.in2p3.fr/PHOENIX_LIBS2/clock/RustyPhoenixClockBackend/coverage/index.html)
[](https://cta-lapp.pages.in2p3.fr/PHOENIX_LIBS2/clock/RustyPhoenixClockBackend/)
[](https://cta-lapp.pages.in2p3.fr/PHOENIX_LIBS2/PHOENIX2/)
[](https://doi.org/10.5281/zenodo.18683427)
This is the Rust version of https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/PhoenixClock project.
This project aims to ease the use of clock in complex environments, especially distributed environments where latencies measurement has to be precise and reproductible when running unit tests.
**PhoenixClock** provide **PGenericClock**, a template classe which takes two arguments :
- -
These clocks are activated with a mode `PClockMode::PClockMode` which can be :
- --
https://gitlab.in2p3.fr/CTA-LAPP/RUSTY_PHOENIX/RustyPhoenixClockMockBackend
https://cta-lapp.pages.in2p3.fr/PHOENIX_LIBS2/clock/RustyPhoenixClockBackend/index.html
- ---
```
git clone https://gitlab.in2p3.fr/CTA-LAPP/RUSTY_PHOENIX/RustyPhoenixClockMockBackend.git
cd RustyPhoenixClockMockBackend
./install.sh
```