BRL-CAD
Collaboration diagram for Timer:

Functions

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

Function Documentation

◆ rt_prep_timer()

void rt_prep_timer ( void  )

Provide timing information for RT. Initialize global librt timer

◆ rt_get_timer()

double rt_get_timer ( struct bu_vls vp,
double *  elapsed 
)

Reports on the passage of time, since rt_prep_timer() was called. Explicit return is number of CPU seconds. String return is descriptive. If "wall" pointer is non-null, number of elapsed seconds per the wall clock are returned. Times returned will never be zero.

◆ rt_read_timer()

double rt_read_timer ( char *  str,
int  len 
)

Compatibility routine