GenSVM
Main Page
Related Pages
+
Classes
Class List
Class Index
+
Class Members
+
All
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
y
z
+
Variables
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
y
z
+
Files
File List
+
File Members
+
All
a
c
d
e
f
g
k
l
m
n
p
r
s
t
v
+
Functions
a
c
d
e
f
g
m
n
p
r
s
t
Variables
Enumerations
Enumerator
+
Macros
c
d
g
l
m
r
s
t
v
•
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
Macros
Pages
include
gensvm_timer.h
Go to the documentation of this file.
1
30
#ifndef GENSVM_TIMER_H
31
#define GENSVM_TIMER_H
32
33
// includes
34
#include "
gensvm_globals.h
"
35
37
#define Timer(spec) clock_gettime(CLOCK_MONOTONIC_RAW, &spec)
38
39
// function declarations
40
double
gensvm_elapsed_time
(
struct
timespec *start,
struct
timespec *stop);
41
42
#endif
gensvm_elapsed_time
double gensvm_elapsed_time(struct timespec *start, struct timespec *stop)
Calculate the time between two time recordings.
Definition:
gensvm_timer.c:58
gensvm_globals.h
Global definitions.
Generated on Tue Feb 21 2017 18:44:21 for GenSVM by
1.8.13