repo.or.cz
/
ctestharness.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add function for printing the list of tests
[ctestharness.git]
/
src
/
timeval_math.h
blob
5e4b9f04514878f36d7487971d5c46c367a98d93
1
#ifndef TIMEVAL_MATH_H
2
#define TIMEVAL_MATH_H
3
4
#include <sys/time.h>
5
6
void
timeval_sub
(
struct
timeval t1
,
struct
timeval t2
,
struct
timeval
*
res
);
7
void
timeval_add
(
struct
timeval t1
,
struct
timeval t2
,
struct
timeval
*
res
);
8
int
timeval_cmp
(
struct
timeval t1
,
struct
timeval t2
);
9
10
#endif