OSDN Git Service

Move module path to vendor
[android-x86/hardware-intel-libsensors.git] / utils.h
diff --git a/utils.h b/utils.h
index d3da472..3ccf4c7 100644 (file)
--- a/utils.h
+++ b/utils.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Intel Corporation.
+ * Copyright (C) 2014-2015 Intel Corporation.
  */
 
 #ifndef __UTILS_H__
@@ -16,9 +16,12 @@ int  sysfs_write_str  (const char path[PATH_MAX], const char *buf);
 int    sysfs_read_float (const char path[PATH_MAX], float *value);
 int    sysfs_write_float(const char path[PATH_MAX], float value);
 
+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);