1QB_UTIL_STOPWATCH_SPLIT_CTL(l3i)bqb Programmer's ManQuBa_lUTIL_STOPWATCH_SPLIT_CTL(3)
2
3
4
6 qb_util_stopwatch_split_ctl
7
9 #include <qb/qbutil.h>
10
11 int32_t qb_util_stopwatch_split_ctl(
12 qb_util_stopwatch_t *sw, /* the stopwatch */
13 uint32_t max_splits, /* maximum number of time splits */
14 uint32_t options /* (0 or QB_UTIL_SW_OVERWRITE ) */
15 );
16
18 sw the stopwatch
19
20 max_splits maximum number of time splits
21
22 options (0 or QB_UTIL_SW_OVERWRITE )
23
26 0 on success
27
28 -errno on failure
29
31 qb_util_nano_current_get(3), qb_util_stopwatch_stop(3),
32 qb_util_stopwatch_split(3), qb_thread_unlock(3), qb_strerror_r(3),
33 qb_util_stopwatch_time_split_get(3), qb_util_set_log_function(3),
34 qb_util_timespec_from_epoch_get(3), qb_thread_lock_destroy(3),
35 qb_thread_trylock(3), qb_util_nano_monotonic_hz(3),
36 qb_util_nano_from_epoch_get(3), qb_util_stopwatch_create(3),
37 qb_util_stopwatch_split_last(3), qb_thread_lock(3),
38 qb_util_stopwatch_free(3), qb_thread_lock_create(3),
39 qb_timespec_add_ms(3), qb_util_stopwatch_start(3),
40 qb_util_stopwatch_us_elapsed_get(3),
41 qb_util_stopwatch_sec_elapsed_get(3)
42
44 Copyright (C) 2010-2020 Red Hat, Inc.
45
46
47
48LIBQB 2023-07-21 QB_UTIL_STOPWATCH_SPLIT_CTL(3)