diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2015-04-02 17:12:14 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2015-04-02 17:12:14 +0100 |
commit | d8f69a660f0477abdd20d96b7172113c81940c48 (patch) | |
tree | 9ad1e03da4e7e497210fe33463854fe0fab1eb60 /include | |
parent | e89cd9b7933fb88138d29edc61eeb5718a318f99 (diff) | |
parent | 78946863d6d44475bb3363e07587fedb053d65d5 (diff) | |
download | klee-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.h | 9 |
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(); } } |