summaryrefslogtreecommitdiffstats
path: root/twrp-functions.hpp
diff options
context:
space:
mode:
authorVojtech Bocek <vbocek@gmail.com>2014-02-06 21:17:32 +0100
committerVojtech Bocek <vbocek@gmail.com>2014-02-06 21:18:08 +0100
commite5ffcd1af2acb864d92560e740a66f4385c052db (patch)
treef63abadf725521f7157deebe83c365030b36ae27 /twrp-functions.hpp
parentMerge "Load RTC offset on Qualcomm Krait chips, fixes the broken time & date" into android-4.4 (diff)
downloadandroid_bootable_recovery-e5ffcd1af2acb864d92560e740a66f4385c052db.tar
android_bootable_recovery-e5ffcd1af2acb864d92560e740a66f4385c052db.tar.gz
android_bootable_recovery-e5ffcd1af2acb864d92560e740a66f4385c052db.tar.bz2
android_bootable_recovery-e5ffcd1af2acb864d92560e740a66f4385c052db.tar.lz
android_bootable_recovery-e5ffcd1af2acb864d92560e740a66f4385c052db.tar.xz
android_bootable_recovery-e5ffcd1af2acb864d92560e740a66f4385c052db.tar.zst
android_bootable_recovery-e5ffcd1af2acb864d92560e740a66f4385c052db.zip
Diffstat (limited to 'twrp-functions.hpp')
-rw-r--r--twrp-functions.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/twrp-functions.hpp b/twrp-functions.hpp
index eb88ae2f3..587d7725e 100644
--- a/twrp-functions.hpp
+++ b/twrp-functions.hpp
@@ -60,6 +60,7 @@ public:
static int copy_file(string src, string dst, int mode); //copy file from src to dst with mode permissions
static unsigned int Get_D_Type_From_Stat(string Path); // Returns a dirent dt_type value using stat instead of dirent
static timespec timespec_diff(timespec& start, timespec& end); // Return a diff for 2 times
+ static int32_t timespec_diff_ms(timespec& start, timespec& end); // Returns diff in ms
static int read_file(string fn, vector<string>& results); //read from file
static int read_file(string fn, string& results); //read from file
static int write_file(string fn, string& line); //write from file