diff --git a/README.md b/README.md index e87b74a3..53609136 100644 --- a/README.md +++ b/README.md @@ -250,7 +250,7 @@ These scripts require KVM access and therefore must be executed on a host kernel - Library calls fail with -1 unless otherwise stated, and `errno` is set. - Quark returns pointers to internal state, which must not be modified and/or stored. In the case of multithreading, these pointers should not be accessed if another thread is driving quark through [quark\_queue\_get\_event(3)](https://elastic.github.io/quark/quark_queue_get_event.3.html). - No threads are created, the library is driven solely through [quark\_queue\_get\_event(3)](https://elastic.github.io/quark/quark_queue_get_event.3.html). -- Access to a `quark_queue` must be synchronized by the user in the case of multithreading. +- Access to a `quark_queue` must be synchronized by the user in the case of multithreading. The boottime epoch is the exception: [quark\_update\_boottime(3)](https://elastic.github.io/quark/quark_update_boottime.3.html), [quark\_get\_boottime(3)](https://elastic.github.io/quark/quark_get_boottime.3.html) and [quark\_time\_to\_wallclock(3)](https://elastic.github.io/quark/quark_time_to_wallclock.3.html) may be called from any thread without synchronization. # [BASIC USAGE](#BASIC_USAGE) @@ -332,6 +332,18 @@ block for an unspecified amount of time. basic queue statistics. +[quark\_time\_to\_wallclock(3)](https://elastic.github.io/quark/quark_time_to_wallclock.3.html) + +translate a time since boot to wallclock. + +[quark\_update\_boottime(3)](https://elastic.github.io/quark/quark_update_boottime.3.html) + +refetch the boottime epoch after a system clock change. + +[quark\_get\_boottime(3)](https://elastic.github.io/quark/quark_get_boottime.3.html) + +get the boottime epoch. + [quark\_queue\_close(3)](https://elastic.github.io/quark/quark_queue_close.3.html) close a queue. @@ -346,7 +358,7 @@ close a queue. # [SEE ALSO](#SEE_ALSO) -[quark\_event\_dump(3)](https://elastic.github.io/quark/quark_event_dump.3.html), [quark\_process\_iter(3)](https://elastic.github.io/quark/quark_process_iter.3.html), [quark\_process\_lookup(3)](https://elastic.github.io/quark/quark_process_lookup.3.html), [quark\_queue\_block(3)](https://elastic.github.io/quark/quark_queue_block.3.html), [quark\_queue\_close(3)](https://elastic.github.io/quark/quark_queue_close.3.html), [quark\_queue\_get\_epollfd(3)](https://elastic.github.io/quark/quark_queue_get_epollfd.3.html), [quark\_queue\_get\_event(3)](https://elastic.github.io/quark/quark_queue_get_event.3.html), [quark\_queue\_get\_stats(3)](https://elastic.github.io/quark/quark_queue_get_stats.3.html), [quark\_queue\_open(3)](https://elastic.github.io/quark/quark_queue_open.3.html), [quark-btf(8)](https://elastic.github.io/quark/quark-btf.8.html), [quark-mon(8)](https://elastic.github.io/quark/quark-mon.8.html), [quark-test(8)](https://elastic.github.io/quark/quark-test.8.html) +[quark\_event\_dump(3)](https://elastic.github.io/quark/quark_event_dump.3.html), [quark\_get\_boottime(3)](https://elastic.github.io/quark/quark_get_boottime.3.html), [quark\_process\_iter(3)](https://elastic.github.io/quark/quark_process_iter.3.html), [quark\_process\_lookup(3)](https://elastic.github.io/quark/quark_process_lookup.3.html), [quark\_queue\_block(3)](https://elastic.github.io/quark/quark_queue_block.3.html), [quark\_queue\_close(3)](https://elastic.github.io/quark/quark_queue_close.3.html), [quark\_queue\_get\_epollfd(3)](https://elastic.github.io/quark/quark_queue_get_epollfd.3.html), [quark\_queue\_get\_event(3)](https://elastic.github.io/quark/quark_queue_get_event.3.html), [quark\_queue\_get\_stats(3)](https://elastic.github.io/quark/quark_queue_get_stats.3.html), [quark\_queue\_open(3)](https://elastic.github.io/quark/quark_queue_open.3.html), [quark\_time\_to\_wallclock(3)](https://elastic.github.io/quark/quark_time_to_wallclock.3.html), [quark\_update\_boottime(3)](https://elastic.github.io/quark/quark_update_boottime.3.html), [quark-btf(8)](https://elastic.github.io/quark/quark-btf.8.html), [quark-mon(8)](https://elastic.github.io/quark/quark-mon.8.html), [quark-test(8)](https://elastic.github.io/quark/quark-test.8.html) # [LICENSE](#LICENSE) diff --git a/docs/index.html b/docs/index.html index 56c8222a..270f8763 100644 --- a/docs/index.html +++ b/docs/index.html @@ -335,7 +335,12 @@

  • quark_queue_get_event(3).
  • Access to a quark_queue must be synchronized by the - user in the case of multithreading.
  • + user in the case of multithreading. The boottime epoch is the exception: + quark_update_boottime(3), + quark_get_boottime(3) + and + quark_time_to_wallclock(3) + may be called from any thread without synchronization.
    @@ -412,6 +417,12 @@

    block for an unspecified amount of time.
    quark_queue_get_stats(3)
    basic queue statistics.
    +
    quark_time_to_wallclock(3)
    +
    translate a time since boot to wallclock.
    +
    quark_update_boottime(3)
    +
    refetch the boottime epoch after a system clock change.
    +
    quark_get_boottime(3)
    +
    get the boottime epoch.
    quark_queue_close(3)
    close a queue.
    @@ -430,6 +441,7 @@

    quark_event_dump(3), + quark_get_boottime(3), quark_process_iter(3), quark_process_lookup(3), quark_queue_block(3), @@ -438,6 +450,8 @@

    quark_queue_get_event(3), quark_queue_get_stats(3), quark_queue_open(3), + quark_time_to_wallclock(3), + quark_update_boottime(3), quark-btf(8), quark-mon(8), quark-test(8)

    @@ -454,7 +468,7 @@

    - +
    June 16, 2025August 14, 2026 Linux
    diff --git a/docs/quark.7.html b/docs/quark.7.html index 56c8222a..270f8763 100644 --- a/docs/quark.7.html +++ b/docs/quark.7.html @@ -335,7 +335,12 @@

  • quark_queue_get_event(3).
  • Access to a quark_queue must be synchronized by the - user in the case of multithreading.
  • + user in the case of multithreading. The boottime epoch is the exception: + quark_update_boottime(3), + quark_get_boottime(3) + and + quark_time_to_wallclock(3) + may be called from any thread without synchronization.

    @@ -412,6 +417,12 @@

    block for an unspecified amount of time.
    quark_queue_get_stats(3)
    basic queue statistics.
    +
    quark_time_to_wallclock(3)
    +
    translate a time since boot to wallclock.
    +
    quark_update_boottime(3)
    +
    refetch the boottime epoch after a system clock change.
    +
    quark_get_boottime(3)
    +
    get the boottime epoch.
    quark_queue_close(3)
    close a queue.
    @@ -430,6 +441,7 @@

    quark_event_dump(3), + quark_get_boottime(3), quark_process_iter(3), quark_process_lookup(3), quark_queue_block(3), @@ -438,6 +450,8 @@

    quark_queue_get_event(3), quark_queue_get_stats(3), quark_queue_open(3), + quark_time_to_wallclock(3), + quark_update_boottime(3), quark-btf(8), quark-mon(8), quark-test(8)

    @@ -454,7 +468,7 @@

    - +
    June 16, 2025August 14, 2026 Linux
    diff --git a/docs/quark_get_boottime.3.html b/docs/quark_get_boottime.3.html new file mode 100644 index 00000000..e763d058 --- /dev/null +++ b/docs/quark_get_boottime.3.html @@ -0,0 +1,84 @@ + + + + + + + QUARK_GET_BOOTTIME(3) + + + + + + + + +
    QUARK_GET_BOOTTIME(3)Library Functions ManualQUARK_GET_BOOTTIME(3)
    +
    +
    +

    +

    quark_get_boottime — + get the boottime epoch used for wallclock + translation

    +
    +
    +

    +

    #include + <quark.h>

    +

    u64 +
    + quark_get_boottime(void);

    +
    +

    +quark_get_boottime returns the internal boottime epoch: + the wallclock time of boot in nanoseconds since the Unix epoch, as fetched + from the btime field of /proc/stat. btime has a + resolution of one second. +

    The epoch is fetched when the first queue is opened and refetched + only by + quark_update_boottime(3). + It is what + quark_time_to_wallclock(3) + adds to a time since boot, exposed for users that prefer to do the + translation themselves.

    +
    +

    +

    The boottime epoch in nanoseconds since the Unix epoch, zero if a + queue was never opened.

    +
    +
    +

    +

    quark_event_dump(3), + quark_process_iter(3), + quark_process_lookup(3), + quark_queue_block(3), + quark_queue_close(3), + quark_queue_default_attr(3), + quark_queue_get_epollfd(3), + quark_queue_get_event(3), + quark_queue_get_stats(3), + quark_queue_open(3), + quark_time_to_wallclock(3), + quark_update_boottime(3), + quark(7), + quark-btf(8), + quark-mon(8), + quark-test(8)

    +
    +
    +

    +

    quark_get_boottime appeared in quark 0.8, + when all times handed out by quark switched from nanoseconds since the Unix + epoch to nanoseconds since boot.

    +
    +
    + + + + + +
    August 5, 2026Linux
    + + diff --git a/docs/quark_queue_open.3.html b/docs/quark_queue_open.3.html index e66c27bd..12e96e59 100644 --- a/docs/quark_queue_open.3.html +++ b/docs/quark_queue_open.3.html @@ -94,7 +94,9 @@

    quark_time_to_wallclock(3) + for the effect on wallclock translation.
    Include per-thread events, instead of per-process events. This option will be removed in the future, but it may be useful for @@ -170,7 +172,7 @@

    +

    quark_time_to_wallclock — + translate a time since boot to wallclock

    +
    +
    +

    +

    #include + <quark.h>

    +

    u64 +
    + quark_time_to_wallclock(u64 + time_since_boot);

    +
    +

    +quark_time_to_wallclock translates + time_since_boot from nanoseconds since boot to + nanoseconds since the Unix epoch by adding the internal boottime epoch, see + quark_get_boottime(3). +

    All times handed out by quark are suitable inputs: + of + quark_event, + + and + + of quark_process, as well as + + and + + of quark_socket. These fields are expressed as + nanoseconds since boot since quark 0.8, in earlier versions they were + nanoseconds since the Unix epoch and needed no translation.

    +

    Times since boot are immune to system clock changes, wallclock + times are not. Translate at the last moment, when a time leaves the system + for display or storage, and keep the epoch fresh with + quark_update_boottime(3) + if the clock may be stepped while running. Gradual corrections (slewing) + adjust the wallclock and the boot clock at the same rate, leaving the epoch + untouched, only a step moves it.

    +

    The KPROBE backend stamps times with a monotonic clock + that does not advance during suspend, relayed as + QQ_MONOTONIC on the opened queue's + , see + quark_queue_open(3). + quark_time_to_wallclock applies unchanged, but the + result lags the wallclock by the total suspended time, exactly as it did + before quark 0.8. Users that care about suspend can detect + QQ_MONOTONIC and compensate with the difference + between CLOCK_BOOTTIME and + CLOCK_MONOTONIC.

    +
    +

    +

    time_since_boot expressed in nanoseconds + since the Unix epoch.

    +
    +
    +

    +

    quark_event_dump(3), + quark_get_boottime(3), + quark_process_iter(3), + quark_process_lookup(3), + quark_queue_block(3), + quark_queue_close(3), + quark_queue_default_attr(3), + quark_queue_get_epollfd(3), + quark_queue_get_event(3), + quark_queue_get_stats(3), + quark_queue_open(3), + quark_update_boottime(3), + quark(7), + quark-btf(8), + quark-mon(8), + quark-test(8)

    +
    +
    +

    +

    quark_time_to_wallclock appeared in quark + 0.8, when all times handed out by quark switched from nanoseconds since the + Unix epoch to nanoseconds since boot.

    +
    +
    + + + + + +
    August 14, 2026Linux
    + + diff --git a/docs/quark_update_boottime.3.html b/docs/quark_update_boottime.3.html new file mode 100644 index 00000000..4b813d51 --- /dev/null +++ b/docs/quark_update_boottime.3.html @@ -0,0 +1,114 @@ + + + + + + + QUARK_UPDATE_BOOTTIME(3) + + + + + + + + +
    QUARK_UPDATE_BOOTTIME(3)Library Functions ManualQUARK_UPDATE_BOOTTIME(3)
    +
    +
    +

    +

    quark_update_boottime — + refetch the boottime epoch used for wallclock + translation

    +
    +
    +

    +

    #include + <quark.h>

    +

    int +
    + quark_update_boottime(void);

    +
    +

    +All times handed out by quark are expressed in nanoseconds since boot: + of + quark_event, + + and + + of quark_process, as well as + + and + + of quark_socket. Translation to wallclock is done at the + last moment via + quark_time_to_wallclock(3), + which adds an internal boottime epoch: the wallclock time of boot, fetched + from the btime field of /proc/stat when the first + queue is opened. +

    btime is derived from the current system clock, so it moves if the + clock is stepped, as when NTP corrects a clock that was wrong at boot. Since + quark has no event loop, it can not detect a step on its own: the user + should call quark_update_boottime, which refetches + btime, whenever the clock might have changed. As quark never bakes the epoch + into the times it stores or hands out, an update also corrects the + translation of times acquired before the step.

    +

    Two common ways of detecting a step:

    +
      +
    • Poll the delta of CLOCK_REALTIME minus + CLOCK_BOOTTIME: slewing adjusts both clocks at the + same rate, so the delta only moves when the clock is stepped.
    • +
    • Wait on a timerfd_create(2) + descriptor of CLOCK_REALTIME armed with + TFD_TIMER_CANCEL_ON_SET, which becomes readable + when the clock is stepped.
    • +
    +

    The boottime epoch is shared by every queue in the process. + quark_update_boottime, + quark_get_boottime(3) and + quark_time_to_wallclock(3) + may be called from any thread without synchronization: the epoch is updated + atomically and a concurrent reader observes either the previous or the new + value.

    +
    +

    +

    Returns 0 on success, -1 if btime could not be refetched, in which + case the previous epoch is retained and errno is + set.

    +
    +
    +

    +

    quark_event_dump(3), + quark_get_boottime(3), + quark_process_iter(3), + quark_process_lookup(3), + quark_queue_block(3), + quark_queue_close(3), + quark_queue_default_attr(3), + quark_queue_get_epollfd(3), + quark_queue_get_event(3), + quark_queue_get_stats(3), + quark_queue_open(3), + quark_time_to_wallclock(3), + quark(7), + quark-btf(8), + quark-mon(8), + quark-test(8)

    +
    +
    +

    +

    quark_update_boottime appeared in quark + 0.8, when all times handed out by quark switched from nanoseconds since the + Unix epoch to nanoseconds since boot.

    +
    +
    + + + + + +
    August 14, 2026Linux
    + + diff --git a/quark.7 b/quark.7 index 67004226..97489df8 100644 --- a/quark.7 +++ b/quark.7 @@ -379,6 +379,12 @@ No threads are created, the library is driven solely through Access to a .Vt quark_queue must be synchronized by the user in the case of multithreading. +The boottime epoch is the exception: +.Xr quark_update_boottime 3 , +.Xr quark_get_boottime 3 +and +.Xr quark_time_to_wallclock 3 +may be called from any thread without synchronization. .El .Sh BASIC USAGE The ball starts with @@ -454,6 +460,12 @@ get a descriptor suitable for blocking. block for an unspecified amount of time. .It Xr quark_queue_get_stats 3 basic queue statistics. +.It Xr quark_time_to_wallclock 3 +translate a time since boot to wallclock. +.It Xr quark_update_boottime 3 +refetch the boottime epoch after a system clock change. +.It Xr quark_get_boottime 3 +get the boottime epoch. .It Xr quark_queue_close 3 close a queue. .El @@ -469,6 +481,7 @@ is the easiest way to get started with describes initialization options that can be useful. .Sh SEE ALSO .Xr quark_event_dump 3 , +.Xr quark_get_boottime 3 , .Xr quark_process_iter 3 , .Xr quark_process_lookup 3 , .Xr quark_queue_block 3 , @@ -477,6 +490,8 @@ describes initialization options that can be useful. .Xr quark_queue_get_event 3 , .Xr quark_queue_get_stats 3 , .Xr quark_queue_open 3 , +.Xr quark_time_to_wallclock 3 , +.Xr quark_update_boottime 3 , .Xr quark-btf 8 , .Xr quark-mon 8 , .Xr quark-test 8 diff --git a/quark_get_boottime.3 b/quark_get_boottime.3 new file mode 100644 index 00000000..149acc98 --- /dev/null +++ b/quark_get_boottime.3 @@ -0,0 +1,48 @@ +.Dd $Mdocdate$ +.Dt QUARK_GET_BOOTTIME 3 +.Os +.Sh NAME +.Nm quark_get_boottime +.Nd get the boottime epoch used for wallclock translation +.Sh SYNOPSIS +.In quark.h +.Ft u64 +.Fn quark_get_boottime "void" +.Sh DESCRIPTION +.Nm +returns the internal boottime epoch: the wallclock time of boot in +nanoseconds since the Unix epoch, as fetched from the btime field of +.Pa /proc/stat . +btime has a resolution of one second. +.Pp +The epoch is fetched when the first queue is opened and refetched only +by +.Xr quark_update_boottime 3 . +It is what +.Xr quark_time_to_wallclock 3 +adds to a time since boot, exposed for users that prefer to do the +translation themselves. +.Sh RETURN VALUES +The boottime epoch in nanoseconds since the Unix epoch, zero if a +queue was never opened. +.Sh SEE ALSO +.Xr quark_event_dump 3 , +.Xr quark_process_iter 3 , +.Xr quark_process_lookup 3 , +.Xr quark_queue_block 3 , +.Xr quark_queue_close 3 , +.Xr quark_queue_default_attr 3 , +.Xr quark_queue_get_epollfd 3 , +.Xr quark_queue_get_event 3 , +.Xr quark_queue_get_stats 3 , +.Xr quark_queue_open 3 , +.Xr quark_time_to_wallclock 3 , +.Xr quark_update_boottime 3 , +.Xr quark 7 , +.Xr quark-btf 8 , +.Xr quark-mon 8 , +.Xr quark-test 8 +.Sh HISTORY +.Nm +appeared in quark 0.8, when all times handed out by quark switched +from nanoseconds since the Unix epoch to nanoseconds since boot. diff --git a/quark_queue_open.3 b/quark_queue_open.3 index 3626bad6..ba2e6ebd 100644 --- a/quark_queue_open.3 +++ b/quark_queue_open.3 @@ -101,6 +101,9 @@ when its event times are CLOCK_MONOTONIC instead of CLOCK_BOOTTIME, which only the KPROBE backend does. Monotonic times undercount by the total suspended time, users that care about suspend must compensate. +See +.Xr quark_time_to_wallclock 3 +for the effect on wallclock translation. .It Dv QQ_THREAD_EVENTS Include per-thread events, instead of per-process events. This option will be removed in the future, but it may be useful for debugging. diff --git a/quark_time_to_wallclock.3 b/quark_time_to_wallclock.3 new file mode 100644 index 00000000..fee8e558 --- /dev/null +++ b/quark_time_to_wallclock.3 @@ -0,0 +1,86 @@ +.Dd $Mdocdate$ +.Dt QUARK_TIME_TO_WALLCLOCK 3 +.Os +.Sh NAME +.Nm quark_time_to_wallclock +.Nd translate a time since boot to wallclock +.Sh SYNOPSIS +.In quark.h +.Ft u64 +.Fn quark_time_to_wallclock "u64 time_since_boot" +.Sh DESCRIPTION +.Nm +translates +.Fa time_since_boot +from nanoseconds since boot to nanoseconds since the Unix epoch by +adding the internal boottime epoch, see +.Xr quark_get_boottime 3 . +.Pp +All times handed out by quark are suitable inputs: +.Em time +of +.Vt quark_event , +.Em proc_time_boot +and +.Em exit_time_event +of +.Vt quark_process , +as well as +.Em established_time +and +.Em close_time +of +.Vt quark_socket . +These fields are expressed as nanoseconds since boot since quark 0.8, +in earlier versions they were nanoseconds since the Unix epoch and +needed no translation. +.Pp +Times since boot are immune to system clock changes, wallclock times +are not. +Translate at the last moment, when a time leaves the system for +display or storage, and keep the epoch fresh with +.Xr quark_update_boottime 3 +if the clock may be stepped while running. +Gradual corrections (slewing) adjust the wallclock and the boot clock +at the same rate, leaving the epoch untouched, only a step moves it. +.Pp +The KPROBE backend stamps times with a monotonic clock that does not +advance during suspend, relayed as +.Dv QQ_MONOTONIC +on the opened queue's +.Em flags , +see +.Xr quark_queue_open 3 . +.Nm +applies unchanged, but the result lags the wallclock by the total +suspended time, exactly as it did before quark 0.8. +Users that care about suspend can detect +.Dv QQ_MONOTONIC +and compensate with the difference between +.Dv CLOCK_BOOTTIME +and +.Dv CLOCK_MONOTONIC . +.Sh RETURN VALUES +.Fa time_since_boot +expressed in nanoseconds since the Unix epoch. +.Sh SEE ALSO +.Xr quark_event_dump 3 , +.Xr quark_get_boottime 3 , +.Xr quark_process_iter 3 , +.Xr quark_process_lookup 3 , +.Xr quark_queue_block 3 , +.Xr quark_queue_close 3 , +.Xr quark_queue_default_attr 3 , +.Xr quark_queue_get_epollfd 3 , +.Xr quark_queue_get_event 3 , +.Xr quark_queue_get_stats 3 , +.Xr quark_queue_open 3 , +.Xr quark_update_boottime 3 , +.Xr quark 7 , +.Xr quark-btf 8 , +.Xr quark-mon 8 , +.Xr quark-test 8 +.Sh HISTORY +.Nm +appeared in quark 0.8, when all times handed out by quark switched +from nanoseconds since the Unix epoch to nanoseconds since boot. diff --git a/quark_update_boottime.3 b/quark_update_boottime.3 new file mode 100644 index 00000000..fc2eeb4b --- /dev/null +++ b/quark_update_boottime.3 @@ -0,0 +1,96 @@ +.Dd $Mdocdate$ +.Dt QUARK_UPDATE_BOOTTIME 3 +.Os +.Sh NAME +.Nm quark_update_boottime +.Nd refetch the boottime epoch used for wallclock translation +.Sh SYNOPSIS +.In quark.h +.Ft int +.Fn quark_update_boottime "void" +.Sh DESCRIPTION +All times handed out by quark are expressed in nanoseconds since boot: +.Em time +of +.Vt quark_event , +.Em proc_time_boot +and +.Em exit_time_event +of +.Vt quark_process , +as well as +.Em established_time +and +.Em close_time +of +.Vt quark_socket . +Translation to wallclock is done at the last moment via +.Xr quark_time_to_wallclock 3 , +which adds an internal boottime epoch: the wallclock time of boot, +fetched from the btime field of +.Pa /proc/stat +when the first queue is opened. +.Pp +btime is derived from the current system clock, so it moves if the +clock is stepped, as when NTP corrects a clock that was wrong at boot. +Since quark has no event loop, it can not detect a step on its own: +the user should call +.Nm , +which refetches btime, whenever the clock might have changed. +As quark never bakes the epoch into the times it stores or hands out, +an update also corrects the translation of times acquired before the +step. +.Pp +Two common ways of detecting a step: +.Bl -bullet +.It +Poll the delta of +.Dv CLOCK_REALTIME +minus +.Dv CLOCK_BOOTTIME : +slewing adjusts both clocks at the same rate, so the delta only moves +when the clock is stepped. +.It +Wait on a +.Xr timerfd_create 2 +descriptor of +.Dv CLOCK_REALTIME +armed with +.Dv TFD_TIMER_CANCEL_ON_SET , +which becomes readable when the clock is stepped. +.El +.Pp +The boottime epoch is shared by every queue in the process. +.Nm , +.Xr quark_get_boottime 3 +and +.Xr quark_time_to_wallclock 3 +may be called from any thread without synchronization: +the epoch is updated atomically and a concurrent reader observes +either the previous or the new value. +.Sh RETURN VALUES +Returns 0 on success, -1 if btime could not be refetched, in which +case the previous epoch is retained and +.Va errno +is set. +.Sh SEE ALSO +.Xr quark_event_dump 3 , +.Xr quark_get_boottime 3 , +.Xr quark_process_iter 3 , +.Xr quark_process_lookup 3 , +.Xr quark_queue_block 3 , +.Xr quark_queue_close 3 , +.Xr quark_queue_default_attr 3 , +.Xr quark_queue_get_epollfd 3 , +.Xr quark_queue_get_event 3 , +.Xr quark_queue_get_stats 3 , +.Xr quark_queue_open 3 , +.Xr quark_time_to_wallclock 3 , +.Xr quark 7 , +.Xr quark-btf 8 , +.Xr quark-mon 8 , +.Xr quark-test 8 +.Sh HISTORY +.Nm +appeared in quark 0.8, when all times handed out by quark switched +from nanoseconds since the Unix epoch to nanoseconds since boot.