Lines Matching refs:clock
14 clocks provided in C++11. There are three clock types defined by the C++11
19 The first clock defined by the standard is ``std::chrono::system_clock``. This
20 clock measures the current date and time. However, this clock changes with to
22 with a time server this clock will change. This makes this clock a poor choice
25 The second clock defined in the standard is ``std::chrono::steady_clock``.
26 This clock ticks at a steady rate and is never adjusted. This makes it excellent
27 for timing purposes, however the value in this clock does not correspond to the
28 current date and time. Often this clock will be the amount of time your system
29 has been on, although it does not have to be. This clock will never be the same
30 clock as the system clock as the system clock can change but steady clocks
33 The third clock defined in the standard is ``std::chrono::high_resolution_clock``.
34 This clock is the clock that has the highest resolution out of the clocks in the
35 system. It is normally a typedef to either the system clock or the steady clock
36 but can be its own independent clock. This is important as when using these
37 conversions as the types you get in python for this clock might be different
39 If it is a typedef of the system clock, python will get datetime objects, but if
40 it is a different clock they will be timedelta objects.
48 System clock times are converted to python datetime instances. They are
57 Any clock time that is not the system clock is converted to a time delta.
63 Date/time objects are converted into system clock timepoints. Any
71 Time deltas that are converted into clock timepoints are treated as