iv_time - Man Page

ivykis time handling

Synopsis

#include <iv.h>

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

Description

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.

See Also

ivykis(3), iv_examples(3)

Referenced By

iv_examples(3), ivykis(3).

The man pages iv_invalidate_now(3) and iv_validate_now(3) are aliases of iv_time(3).

2003-03-29 ivykis programmer's manual