File: clock.h

package info (click to toggle)
libuuid-perl 0.37-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,092 kB
  • sloc: ansic: 2,374; perl: 580; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef UU_CLOCK_H
#define UU_CLOCK_H

#include "ulib/UUID.h"

/* Assume that the gettimeofday() has microsecond granularity */
#define MAX_ADJUSTMENT 10

void uu_clock_init(pUCXT);
void uu_clock_getpath(pUCXT, struct_pathlen_t *sp);
void uu_clock_setpath(pUCXT, struct_pathlen_t *sp);
IV   uu_clock(pUCXT, U64 *ret_clock_reg, U16 *ret_clock_seq);

#endif
/* ex:set ts=2 sw=2 itab=spaces: */