1QB_UTIL_STOPWATCH_TIME_SPLITl_iGbEqTb(3P)rogrammer'QsB_MUaTnIuLa_lSTOPWATCH_TIME_SPLIT_GET(3)
2
3
4
6 qb_util_stopwatch_time_split_get - Read the time split (in us) from
7 "receint" to "older".
8
9
11 #include <qb/qbutil.h>
12
13 uint64_t qb_util_stopwatch_time_split_get(
14 qb_util_stopwatch_t *sw,
15 uint32_t receint,
16 uint32_t older
17 );
18
20 sw the stopwatch
21
22 receint split
23
24 older split
25
27 If older == receint then the cumulated split will be returned (from the
28 stopwatch start).
29
31 the split time in micro seconds
32
33 0 if not a valid split
34
36 qb_util_nano_current_get(3), qb_util_stopwatch_stop(3),
37 qb_util_stopwatch_split(3), qb_util_stopwatch_split_ctl(3),
38 qb_thread_unlock(3), qb_strerror_r(3), qb_util_set_log_function(3),
39 qb_util_timespec_from_epoch_get(3), qb_thread_lock_destroy(3),
40 qb_thread_trylock(3), qb_util_nano_monotonic_hz(3),
41 qb_util_nano_from_epoch_get(3), qb_util_stopwatch_create(3),
42 qb_util_stopwatch_split_last(3), qb_thread_lock(3),
43 qb_util_stopwatch_free(3), qb_thread_lock_create(3),
44 qb_timespec_add_ms(3), qb_util_stopwatch_start(3),
45 qb_util_stopwatch_us_elapsed_get(3),
46 qb_util_stopwatch_sec_elapsed_get(3)
47
49 Copyright (C) 2010-2020 Red Hat, Inc.
50
51
52
53LIBQB 2021-03-03QB_UTIL_STOPWATCH_TIME_SPLIT_GET(3)