1QB_TIMESPEC_ADD_MS(3)      libqb Programmer's Manual     QB_TIMESPEC_ADD_MS(3)
2
3
4

NAME

6       qb_timespec_add_ms - Add milliseconds onto the timespec.
7
8

SYNOPSIS

10       #include <qb/qbutil.h>
11
12       void qb_timespec_add_ms(
13           struct timespec   *ts, /* the ts to add to */
14           int32_t            ms /* the amount of milliseconds to increment ts */
15       );
16

PARAMS

18       ts the ts to add to
19
20       ms the amount of milliseconds to increment ts
21

DESCRIPTION

SEE ALSO

24       qb_util_nano_current_get(3), qb_util_stopwatch_stop(3),
25       qb_util_stopwatch_split(3), qb_util_stopwatch_split_ctl(3),
26       qb_thread_unlock(3), qb_strerror_r(3),
27       qb_util_stopwatch_time_split_get(3), qb_util_set_log_function(3),
28       qb_util_timespec_from_epoch_get(3), qb_thread_lock_destroy(3),
29       qb_thread_trylock(3), qb_util_nano_monotonic_hz(3),
30       qb_util_nano_from_epoch_get(3), qb_util_stopwatch_create(3),
31       qb_util_stopwatch_split_last(3), qb_thread_lock(3),
32       qb_util_stopwatch_free(3), qb_thread_lock_create(3),
33       qb_util_stopwatch_start(3), qb_util_stopwatch_us_elapsed_get(3),
34       qb_util_stopwatch_sec_elapsed_get(3)
35
37       Copyright (C) 2010-2020 Red Hat, Inc.
38
39
40
41LIBQB                             2022-03-23             QB_TIMESPEC_ADD_MS(3)
Impressum