Review timestamp definitions
Description
_Describe briefly the existing feature and what is the enhancement, use cases, benefits, and goals_This is a followed up of this discussion:
https://git.ircad.fr/sight/night/-/issues/282#note_217215
The timestamp computation in sight and its dependent frameworks is structural for the various acquisitions and synchronization process.
However the best timestamp generation process is not the same on windows and linux.
Regarding the windows approach,
- system_clock is not steady: https://docs.microsoft.com/nb-no/cpp/standard-library/system-clock-structure?view=msvc-160
- whereas high_resolution_clock is steady: https://docs.microsoft.com/nb-no/cpp/standard-library/high-resolution-clock-struct?view=msvc-160
A global reflection on the timestamp generation needs to be conducted and a enhancement over the global frameworks needs to be conducted.
Proposal
Optional section to give some functional or technical hints
Functional specifications
Workflow, UX/UI design, screenshots, etc...
Technical specifications
Details of the implementation
Test plan
Describe how you will verify that the implementation fulfils the specifications