QB_UTIL_STOPWATCH_START(3)
π NAME π
qb_util_stopwatch_start β bestie, it starts the stopwatch. that's the whole gig β¨
okay so this is a page from the libqb Programmer's Manual, section 3, and it's literally about pressing "go" on a timer π
π¦ SYNOPSIS π¦
#include <qb/qbutil.h>
void qb_util_stopwatch_start(
qb_util_stopwatch_t *sw
);
so you pull in the header, you hand it a pointer to your qb_util_stopwatch_t, and it returns nothing β void, no return value, no notes, no drama π
β¨ DESCRIPTION β¨
okay so here's the tea π: calling qb_util_stopwatch_start doesn't just start the thing β it also acts as a reset. two jobs, one function call, we love a multitasker π
Essentially it sets the starting time and clears the splits. that's it. that's the whole vibe. the clock restarts from now, and all those splits you'd been collecting? gone. wiped. clean slate, main character energy π
lowkey important: because it doubles as a reset, don't call this expecting your old splits to survive. they will NOT survive. it's giving "fresh start" and it means it π
πΈ SEE ALSO πΈ
the whole friend group, iykyk π«Ά:
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_us_elapsed_get(3)qb_util_stopwatch_sec_elapsed_get(3)
π COPYRIGHT π
Copyright (C) 2010-2020 Red Hat, Inc.
k that's the whole page bestie, go forth and time things β±οΈβ¨
libqb Β· 2025-09-16 Β· QB_UTIL_STOPWATCH_START(3) β mwah, no cap, this page ate π
π¦ 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