| Index: runtime/vm/os_thread_linux.cc
|
| diff --git a/runtime/vm/os_thread_linux.cc b/runtime/vm/os_thread_linux.cc
|
| index ffcd2e67368d4c7bc4dc53acc956b07a8250fc5b..4c048541f798cba1f6c1e7c0f9a2cabc2d67882a 100644
|
| --- a/runtime/vm/os_thread_linux.cc
|
| +++ b/runtime/vm/os_thread_linux.cc
|
| @@ -221,17 +221,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);
|
|
|