| Index: runtime/vm/os_thread_android.cc
|
| diff --git a/runtime/vm/os_thread_android.cc b/runtime/vm/os_thread_android.cc
|
| index 2f51e6f2283526eb64fbefdb25f650364724bbfd..32157d3f8812336480ec8e05f4e28376c2bb9999 100644
|
| --- a/runtime/vm/os_thread_android.cc
|
| +++ b/runtime/vm/os_thread_android.cc
|
| @@ -219,17 +219,6 @@ bool OSThread::Compare(ThreadId a, ThreadId b) {
|
| }
|
|
|
|
|
| -void OSThread::GetThreadCpuUsage(ThreadId thread_id, int64_t* cpu_usage) {
|
| - ASSERT(thread_id == GetCurrentThreadId());
|
| - ASSERT(cpu_usage != NULL);
|
| - struct timespec ts;
|
| - int r = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
|
| - ASSERT(r == 0);
|
| - *cpu_usage = (ts.tv_sec * kNanosecondsPerSecond + ts.tv_nsec) /
|
| - kNanosecondsPerMicrosecond;
|
| -}
|
| -
|
| -
|
| Mutex::Mutex() {
|
| pthread_mutexattr_t attr;
|
| int result = pthread_mutexattr_init(&attr);
|
|
|