Chimera: chimera_0-9/src/dtime.c File Reference

- Main Page
- Classes
- Files
- Directories

- File List
- File Members

# dtime.c File Reference

`#include <stdio.h>`
`#include <string.h>`
`#include <sys/time.h>`
`#include <signal.h>`
`#include "dtime.h"`

## Functions
double | dtime ()
void | dalarm (double time)
void | dsleep (double time)
timeval | dtotv (double d)
double | tvtod (struct timeval tv)

## Function Documentation

void dalarm | ( | double | time | ) |

| dalarm: generates a SIGALRM signal in time# seconds

void dsleep | ( | double | time | ) |

| dalarm: sleeps for time# seconds

double dtime | ( |  | ) |

| dtime: returns the time of day in double format with microsecond precision

struct timeval dtotv | ( | double | d | ) |

| dtotv: returns the struct timeval representation of double d#

double tvtod | ( | struct timeval | tv | ) |

| tvtod: returns the double representation of timeval tv#