xapian-core  1.4.27
Namespaces | Functions
realtime.h File Reference

Functions for handling a time or time interval in a double. More...

#include <cerrno>
#include <cmath>
#include <ctime>
#include "safesysselect.h"
+ Include dependency graph for realtime.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 RealTime
 

Functions

double RealTime::now ()
 Return the current time. More...
 
double RealTime::end_time (double timeout)
 Return the end time for a timeout in timeout seconds. More...
 
void RealTime::to_timeval (double t, struct timeval *tv)
 Fill in struct timeval from number of seconds in a double. More...
 
void RealTime::sleep (double t)
 Sleep until the time represented by this object. More...
 

Detailed Description

Functions for handling a time or time interval in a double.

Definition in file realtime.h.