about summary refs log tree commit diff homepage
path: root/include
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2015-04-02 17:12:14 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2015-04-02 17:12:14 +0100
commitd8f69a660f0477abdd20d96b7172113c81940c48 (patch)
tree9ad1e03da4e7e497210fe33463854fe0fab1eb60 /include
parente89cd9b7933fb88138d29edc61eeb5718a318f99 (diff)
parent78946863d6d44475bb3363e07587fedb053d65d5 (diff)
downloadklee-d8f69a660f0477abdd20d96b7172113c81940c48.tar.gz
Merge pull request #209 from erakadjiev/timestamp_optimize
Cleaner, more efficient timestamps
Diffstat (limited to 'include')
-rw-r--r--include/klee/Internal/System/Time.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/klee/Internal/System/Time.h b/include/klee/Internal/System/Time.h
index 5229c8c9..14d23536 100644
--- a/include/klee/Internal/System/Time.h
+++ b/include/klee/Internal/System/Time.h
@@ -10,10 +10,19 @@
 #ifndef KLEE_UTIL_TIME_H
 #define KLEE_UTIL_TIME_H
 
+#include <llvm/Support/TimeValue.h>
+
 namespace klee {
   namespace util {
+
+    /// Seconds spent by this process in user mode.
     double getUserTime();
+
+    /// Wall time in seconds.
     double getWallTime();
+
+    /// Wall time as TimeValue object.
+    llvm::sys::TimeValue getWallTimeVal();
   }
 }