QB_UTIL_ST...LAPSED_GET(3)
β¨ qb_util_stopwatch_us_elapsed_get β¨
okay bestie, welcome to the libqb Programmer's Manual π this is the page for qb_util_stopwatch_us_elapsed_get from libqb β yes that's the qb_util_stopwatch_us_elapsed_get(3) you were looking for, the header up top is just vibing, we don't gotta repeat it π
π NAME π
qb_util_stopwatch_us_elapsed_get β get the elapsed time in micro seconds π°οΈβ¨
like. it's a stopwatch. it tells you how long. in microseconds. slay.
πΈ SYNOPSIS πΈ
#include <qb/qbutil.h>
uint64_t qb_util_stopwatch_us_elapsed_get(
qb_util_stopwatch_t *sw
);
she takes a qb_util_stopwatch_t *sw and hands you back a uint64_t, no cap π«Ά
π¦ DESCRIPTION π¦
(it must have been started and stopped).
that's literally it. that's the whole description. the parentheses are doing so much heavy lifting here π
so like β before you call her, the stopwatch in question needs to have been started and stopped already, okay? she's not out here guessing. the way that a half-run stopwatch is not gonna give you the vibe you want π
fr fr, nostart+ nostop= no elapsed time. do not test her.
π SEE ALSO π
the whole group chat, in the order the manpage said, periodt π
qb_util_nano_current_get(3)qb_util_stopwatch_stop(3)qb_util_stopwatch_split(3)qb_util_stopwatch_split_ctl(3)qb_thread_unlock(3)qb_strerror_r(3)qb_util_stopwatch_time_split_get(3)qb_util_set_log_function(3)qb_util_timespec_from_epoch_get(3)qb_thread_lock_destroy(3)qb_thread_trylock(3)qb_util_nano_monotonic_hz(3)qb_util_nano_from_epoch_get(3)qb_util_stopwatch_create(3)qb_util_stopwatch_split_last(3)qb_thread_lock(3)qb_util_stopwatch_free(3)qb_thread_lock_create(3)qb_timespec_add_ms(3)qb_util_stopwatch_start(3)qb_util_stopwatch_sec_elapsed_get(3)
go read them. iykyk π₯
β COPYRIGHT β
Copyright (C) 2010-2020 Red Hat, Inc.
and that's the whole page, bestie!! πβ¨
this was LIBQB, dated 2025-09-16, and the title up top was QB_UTIL_ST...LAPSED_GET(3) β you ate, go measure some microseconds ππ¦π
π¦ where this page comes from
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- ubuntu resolute: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu stonking: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms