timerunix.c File Reference
#include "common.h"
#include <stdio.h>
#include <sys/types.h>
#include <sys/times.h>
#include <sys/param.h>
Include dependency graph for timerunix.c:

Go to the source code of this file.


#define HZ   60
#define DEFAULT_HZ   yes


void rt_prep_timer (void)
double rt_get_timer (struct bu_vls *vp, double *elapsed)
double rt_read_timer (char *str, int len)

Detailed Description

To provide timing information for RT. This version for any non-BSD UNIX system, including System III, Vr1, Vr2. Version 6 & 7 should also be able to use this (untested). The time() and times() sys-calls are used for all timing.

Definition in file timerunix.c.

Macro Definition Documentation

#define HZ   60

Definition at line 38 of file timerunix.c.

Referenced by rt_get_timer().

#define DEFAULT_HZ   yes

Definition at line 39 of file timerunix.c.