commit | 074cd0c0765d1aec5a4ff5ac460f0685ae067fb1 | [log] [tgz] |
---|---|---|
author | Nick Pelly <npelly@google.com> | Thu Jul 19 09:17:24 2012 -0700 |
committer | Nick Pelly <npelly@google.com> | Thu Jul 19 16:06:21 2012 -0700 |
tree | 318371eaf5d0e59babc3338889b83e3d5731c742 | |
parent | df5cbd76224ea1facb7cfb499f4d522e55753774 [diff] [blame] |
Add elapsedRealtimeNano(), and use CLOCK_BOOTTIME where possible. Change-Id: I4231c8ca32663e6e2cb5b7c126d091f837373807
diff --git a/include/utils/SystemClock.h b/include/utils/SystemClock.h index 7c319be..d75264c 100644 --- a/include/utils/SystemClock.h +++ b/include/utils/SystemClock.h
@@ -25,6 +25,7 @@ int setCurrentTimeMillis(int64_t millis); int64_t uptimeMillis(); int64_t elapsedRealtime(); +int64_t elapsedRealtimeNano(); }; // namespace android