Skip to content

Helper function bpf_ktime_get_tai_ns

v6.1

Definition

Copyright (c) 2015 The Libbpf Authors. All rights reserved.

A nonsettable system-wide clock derived from wall-clock time but ignoring leap seconds. This clock does not experience discontinuities and backwards jumps caused by NTP inserting leap seconds as CLOCK_REALTIME does.

See: clock_gettime(CLOCK_TAI)

Returns

Current ktime.

static __u64 (* const bpf_ktime_get_tai_ns)(void) = (void *) 208;

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

This helper call can be used in the following program types:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome