OSDN Git Service
(root)
/
android-x86
/
hardware-intel-libsensors.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use THREAD_CPUTIME to measure sensor activation time
[android-x86/hardware-intel-libsensors.git]
/
utils.h
diff --git
a/utils.h
b/utils.h
index
3b8fa63
..
3ccf4c7
100644
(file)
--- a/
utils.h
+++ b/
utils.h
@@
-21,6
+21,7
@@
int sysfs_read_uint64(const char path[PATH_MAX], uint64_t *value);
void set_timestamp (struct timespec *out, int64_t target_ns);
int64_t get_timestamp_boot (void);
+int64_t get_timestamp_thread (void);
int64_t get_timestamp_realtime (void);
int64_t get_timestamp_monotonic (void);