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
10 #include <qb/qbutil.h>
11
12 uint64_t qb_util_stopwatch_time_split_get(
13 qb_util_stopwatch_t *sw,
14 uint32_t receint,
15 uint32_t older
16 );
17
19 sw the stopwatch
20
21 receint split
22
23 older split
24
26 If older == receint then the cumulated split will be returned (from the
27 stopwatch start).
28 the split time in micro seconds
29
30 0 if not a valid split
31
33 qb_util_nano_current_get(3), qb_util_stopwatch_stop(3),
34 qb_util_stopwatch_split(3), qb_util_stopwatch_split_ctl(3),
35 qb_thread_unlock(3), qb_strerror_r(3), qb_util_set_log_function(3),
36 qb_util_timespec_from_epoch_get(3), qb_thread_lock_destroy(3),
37 qb_thread_trylock(3), qb_util_nano_monotonic_hz(3),
38 qb_util_nano_from_epoch_get(3), qb_util_stopwatch_create(3),
39 qb_util_stopwatch_split_last(3), qb_thread_lock(3),
40 qb_util_stopwatch_free(3), qb_thread_lock_create(3),
41 qb_timespec_add_ms(3), qb_util_stopwatch_start(3),
42 qb_util_stopwatch_us_elapsed_get(3),
43 qb_util_stopwatch_sec_elapsed_get(3)
44
46 Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
47
48
49
50LIBQB 2020-07-30QB_UTIL_STOPWATCH_TIME_SPLIT_GET(3)