1iv_time(3) ivykis programmer's manual iv_time(3)
2
3
4
6 iv_now, iv_validate_now, iv_invalidate_now - ivykis time handling
7
9 #include <iv.h>
10
11 extern struct timespec iv_now;
12 void iv_validate_now(void);
13 void iv_invalidate_now(void);
14
16 iv_now is a global variable that represents a monotonic timer.
17
18 The contents of iv_now might be stale. Calling the function iv_vali‐
19 date_now ensures that the current contents of iv_now are up-to-date.
20
21 The function iv_invalidate_now is called to invalidate the currently
22 cached time. This function should be called after any operation that
23 takes a significant amount of wall clock time.
24
26 ivykis(3), iv_examples(3)
27
28
29
30ivykis 2003-03-29 iv_time(3)