Crossings Minimization  1.0
timing.h File Reference

Header for a simple function to compute CPU user milliseconds. More...

#include <sys/time.h>
Include dependency graph for timing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double currentCPUTime ()
 
double getUserSeconds ()
 

Detailed Description

Header for a simple function to compute CPU user milliseconds.

Author
Matt Stallmann
Date
ca. 1990
Id
timing.h 20 2011-06-26 23:29:46Z mfms

Definition in file timing.h.

Function Documentation

◆ currentCPUTime()

double currentCPUTime ( )

Return total user time used by this process in # of milliseconds, accurate to the nearest microsecond (depending on system) DEPRECATED by the function below (usually a bad idea to report milliseconds).

DEPRECATED – see timing.h

Definition at line 17 of file timing.c.

◆ getUserSeconds()

double getUserSeconds ( )

Return total user time used by this process in # of seconds. Anything below 0.1 should probably be considered "noise"

Definition at line 27 of file timing.c.

Referenced by main().