Crossings Minimization  1.0
timing.c File Reference

Implementation of a simple function to compute CPU milliseconds (user time only). More...

#include "timing.h"
#include <sys/time.h>
#include <sys/resource.h>
Include dependency graph for timing.c:

Go to the source code of this file.

Functions

double currentCPUTime ()
 
double getUserSeconds ()
 

Detailed Description

Implementation of a simple function to compute CPU milliseconds (user time only).

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

Definition in file timing.c.

Function Documentation

◆ currentCPUTime()

double currentCPUTime ( )

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().