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, no start + no stop = no elapsed time. do not test her.

πŸ‘‘ SEE ALSO πŸ‘‘

the whole group chat, in the order the manpage said, periodt πŸ’…

go read them. iykyk πŸ”₯


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