Bsoft
2.1.0
Bernard's software package
timer.h
Go to the documentation of this file.
1
9
//#include <time.h>
10
//#include <sys/time.h>
11
12
13
// Function prototypes
14
double
getwalltime
();
15
double
getcputime
();
16
double
timer_start
();
17
double
timer_report
(
double
lasttime);
18
timer_start
double timer_start()
Starts timer and prints the time.
Definition:
timer.cpp:61
getcputime
double getcputime()
Returns the clock time.
Definition:
timer.cpp:49
timer_report
double timer_report(double lasttime)
Reports the time elapsed since a given time.
Definition:
timer.cpp:76
getwalltime
double getwalltime()
Returns the current time.
Definition:
timer.cpp:26
include
timer.h
Generated on Mon Oct 26 2020 09:24:42 for Bsoft by
1.8.20