GenSVM
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