1MLX5DV_TS_TO_NS(3)         Library Functions Manual         MLX5DV_TS_TO_NS(3)
2
3
4

NAME

6       mlx5dv_ts_to_ns - Convert device timestamp from HCA core clock units to
7       the corresponding nanosecond counts
8

SYNOPSIS

10       #include <infiniband/mlx5dv.h>
11
12       uint64_t mlx5dv_ts_to_ns(struct mlx5dv_clock_info *clock_info,
13                            uint64_t device_timestamp);
14

DESCRIPTION

16       mlx5dv_ts_to_ns(3) Converts a host byte order device_timestamp from HCA
17       core clock units into the corresponding nanosecond wallclock time.
18
19       struct      mlx5dv_clock_info      can      be      retrieved     using
20       mlx5dv_get_clock_info(3).
21
22       The greater the difference between the device reporting a timestamp and
23       the  last  mlx5dv_clock_info  update, the greater the inaccuracy of the
24       clock time conversion.
25
26

RETURN VALUE

28       Timestamp in nanoseconds
29

SEE ALSO

31       mlx5dv(7), mlx5dv_get_clock_info(3), mlx5dv_query_device(3)
32

AUTHORS

34       Feras Daoud <ferasda@mellanox.com>
35
36
37
381.0.0                             2017-11-08                MLX5DV_TS_TO_NS(3)
Impressum