Duration struct
A span of time, counted in units of 100 nanoseconds.
- Use
#include <ThinkMeta.ConcurrentTasks/Core.h>- Namespace
ThinkMeta::ConcurrentTasks- Platforms
- Windows, Linux
Syntax
struct DurationRemarks
100 ns is the unit of Windows timers. Built with Duration::Microseconds, Duration::Milliseconds or Duration::Seconds, so that a plain number never passes for one. The core's timer thread waits on a high-resolution timer: on Windows 10 1803 and later it fires on a grid of about half a millisecond, on older Windows on the system tick (about 15.6 ms), on Linux on the kernel's high-resolution timers. A duration says how long at least; the task may start or wake that much later.
See also
Methods
Microseconds
Milliseconds
Seconds
Infinite
IsInfinite
Fields
hundredNanoseconds
The length in units of 100 nanoseconds.
Syntax
std::int64_t hundredNanoseconds;Generated from ThinkMeta.ConcurrentTasks.API @ c7663c4 (2026-11-19).