iv_time(3)

iv_time3

Ivykis time handling

Usage

#include <iv.h>

extern struct timespec iv_now;
void iv_validate_now(void);
void iv_invalidate_now(void);

Overview

iv_now is a global variable that represents a monotonic timer.

The contents of iv_now might be stale. Calling the function iv_validate_now ensures that the current contents of iv_now are up-to-date.

The function iv_invalidate_now is called to invalidate the currently cached time. This function should be called after any operation that takes a significant amount of wall clock time.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–9
  2. 10–13

From libivykis-dev 0.43.2-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.