Where the microseconds come from: the caller's clock, or one of ours pinned to a core they name, and the scaling between that clock's ticks and a microsecond. More...
#include "mmgr.h"#include "memoriam_praetereo/praet_praefinitum.h"#include "memoriam_praetereo/praet_platform_detection.h"Go to the source code of this file.
Macros | |
| #define | PRAET_CLOCK_CALLER |
| The clock is the caller's, read through the port. | |
| #define | PRAET_CLOCK_OWN |
| The clock is ours, pinned to the core PRAET_CLOCK_CORE names. | |
| #define | PRAET_CLOCK_HZ |
| Ticks the clock counts in one second. | |
| #define | PRAET_UNSET_CLOCK_HZ |
| #define | PRAET_UNSET_CLOCK_SOURCE |
| Whether the clock is the caller's or ours. | |
| #define | PRAET_CLOCK_SOURCE |
| #define | PRAET_CLOCK_CORE |
| The core our timer is pinned to. | |
| #define | PRAET_UNSET_CLOCK_CORE |
| #define | PRAET_TICKS_PER_MICRO |
| Ticks this clock counts in one microsecond. | |
| #define | PRAET_CLOCK_MICROS(ticks_) |
| Converts a tick count from this clock into microseconds. | |
Where the microseconds come from: the caller's clock, or one of ours pinned to a core they name, and the scaling between that clock's ticks and a microsecond.
Definition in file praet_horologiorum_custos.h.
| #define PRAET_CLOCK_CALLER |
The clock is the caller's, read through the port.
Definition at line 33 of file praet_horologiorum_custos.h.
| #define PRAET_CLOCK_OWN |
The clock is ours, pinned to the core PRAET_CLOCK_CORE names.
Definition at line 38 of file praet_horologiorum_custos.h.
| #define PRAET_CLOCK_HZ |
Ticks the clock counts in one second.
Definition at line 55 of file praet_horologiorum_custos.h.
| #define PRAET_UNSET_CLOCK_HZ |
Definition at line 56 of file praet_horologiorum_custos.h.
| #define PRAET_UNSET_CLOCK_SOURCE |
Whether the clock is the caller's or ours.
Definition at line 72 of file praet_horologiorum_custos.h.
| #define PRAET_CLOCK_SOURCE |
Definition at line 78 of file praet_horologiorum_custos.h.
| #define PRAET_CLOCK_CORE |
The core our timer is pinned to.
Definition at line 109 of file praet_horologiorum_custos.h.
| #define PRAET_UNSET_CLOCK_CORE |
Definition at line 110 of file praet_horologiorum_custos.h.
| #define PRAET_TICKS_PER_MICRO |
Ticks this clock counts in one microsecond.
Definition at line 132 of file praet_horologiorum_custos.h.
| #define PRAET_CLOCK_MICROS | ( | ticks_ | ) |
Converts a tick count from this clock into microseconds.
| [in] | ticks_ | Ticks read off the clock. |
Definition at line 142 of file praet_horologiorum_custos.h.