|
BRL-CAD
|
Functions | |
| void | rt_prep_timer (void) |
| double | rt_get_timer (struct bu_vls *vp, double *elapsed) |
| double | rt_read_timer (char *str, int len) |
| void rt_prep_timer | ( | void | ) |
Provide timing information for RT. Initialize global librt 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.
| double rt_read_timer | ( | char * | str, |
| int | len | ||
| ) |
Compatibility routine