xtime.hxx File Reference

#include <sys/time.h>
#include <pthread.h>

Go to the source code of this file.

Classes

struct  CLAM::xtime

Namespaces

namespace  CLAM

Enumerations

enum  {
  CLAM::TIME_UTC = 1, CLAM::TIME_TAI, CLAM::TIME_MONOTONIC, CLAM::TIME_PROCESS,
  CLAM::TIME_THREAD, CLAM::TIME_LOCAL, CLAM::TIME_SYNC, CLAM::TIME_RESOLUTION
}

Functions

int CLAM::xtime_get (xtime *xtp, int clock_type)
void CLAM::to_time (int milliseconds, xtime &xt)
void CLAM::to_timespec (const xtime &xt, timespec &ts)
void CLAM::to_time (int milliseconds, timespec &ts)
void CLAM::to_timespec_duration (const xtime &xt, timespec &ts)

Variables

const int CLAM::MILLISECONDS_PER_SECOND = 1000
const int CLAM::NANOSECONDS_PER_SECOND = 1000000000
const int CLAM::NANOSECONDS_PER_MILLISECOND = 1000000
const int CLAM::MICROSECONDS_PER_SECOND = 1000000
const int CLAM::NANOSECONDS_PER_MICROSECOND = 1000
Generated by  doxygen 1.6.3