projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Automatically time TAP tests
[lttng-tools.git]
/
tests
/
utils
/
utils.h
diff --git
a/tests/utils/utils.h
b/tests/utils/utils.h
index 87b4918def3a9960a230b4ace04ad71b56007128..802743ec1fd32fc3c6c5c420ac058c9181dc132c 100644
(file)
--- a/
tests/utils/utils.h
+++ b/
tests/utils/utils.h
@@
-8,6
+8,7
@@
#ifndef TEST_UTILS_H
#define TEST_UTILS_H
#ifndef TEST_UTILS_H
#define TEST_UTILS_H
+#include <sys/types.h>
#include <unistd.h>
#if defined(__cplusplus)
#include <unistd.h>
#if defined(__cplusplus)
@@
-42,7
+43,7
@@
extern "C" {
int usleep_safe(useconds_t usec);
int create_file(const char *path);
int wait_on_file(const char *path);
int usleep_safe(useconds_t usec);
int create_file(const char *path);
int wait_on_file(const char *path);
-
+int64_t elapsed_time_ns(struct timespec *t1, struct timespec *t2);
#if defined(__cplusplus)
}
#endif
#if defined(__cplusplus)
}
#endif
This page took
0.023373 seconds
and
4
git commands to generate.