diff options
author | Jeff Hao <jeffhao@google.com> | 2013-08-15 16:36:24 -0700 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2013-08-15 16:36:24 -0700 |
commit | 57dac6ed61a0a25c14d4e2fabc84435578d42360 (patch) | |
tree | 9cb004e94b313f8aae2b0a29b4b9241bd207ec74 /runtime/utils.h | |
parent | a68f43fa91531b2e8fe73fa5a5731f18a80ff801 (diff) | |
download | art-57dac6ed61a0a25c14d4e2fabc84435578d42360.zip art-57dac6ed61a0a25c14d4e2fabc84435578d42360.tar.gz art-57dac6ed61a0a25c14d4e2fabc84435578d42360.tar.bz2 |
Fix sampling profiler to use thread's cpu clock.
The sampling profiler was using the sampling thread's cpu clock to
measure cpu time, instead of the sampled thread's cpu clock.
Change-Id: Ief1f82e07e0353192c61521f67dec7a761905f64
Diffstat (limited to 'runtime/utils.h')
-rw-r--r-- | runtime/utils.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/utils.h b/runtime/utils.h index 9e724d0..bd81114 100644 --- a/runtime/utils.h +++ b/runtime/utils.h @@ -285,9 +285,6 @@ uint64_t MicroTime(); // Returns the monotonic time since some unspecified starting point in nanoseconds. uint64_t NanoTime(); -// Returns the thread-specific CPU-time clock in microseconds or -1 if unavailable. -uint64_t ThreadCpuMicroTime(); - // Returns the thread-specific CPU-time clock in nanoseconds or -1 if unavailable. uint64_t ThreadCpuNanoTime(); |