|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
fast_monotonic_clock, a std::chrono clock on CLOCK_MONOTONIC_COARSE (falling back to CLOCK_MONOTONIC); adapted from a Stack Overflow answer per the file comment. More...
#include <cassert>#include <chrono>#include <time.h>Classes | |
| class | Pds::fast_monotonic_clock |
| std::chrono-style steady clock with nanosecond duration read with clock_gettime(): CLOCK_MONOTONIC_COARSE if it works on this system, otherwise CLOCK_MONOTONIC (chosen once on first use). More... | |
Namespaces | |
| namespace | Pds |
| Outer namespace of the HSD digitizer helpers. | |
Macros | |
| #define | MAYBE_UNUSED __attribute__((unused)) |
| Expands to the GNU unused attribute; undefined at the end of this header. | |
fast_monotonic_clock, a std::chrono clock on CLOCK_MONOTONIC_COARSE (falling back to CLOCK_MONOTONIC); adapted from a Stack Overflow answer per the file comment.
| #define MAYBE_UNUSED __attribute__((unused)) |
Expands to the GNU unused attribute; undefined at the end of this header.