summaryrefslogtreecommitdiffstats
path: root/libs/cpustats/ThreadCpuUsage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cpustats/ThreadCpuUsage.cpp')
-rw-r--r--libs/cpustats/ThreadCpuUsage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/cpustats/ThreadCpuUsage.cpp b/libs/cpustats/ThreadCpuUsage.cpp
index 4bfbdf3..c1fb365 100644
--- a/libs/cpustats/ThreadCpuUsage.cpp
+++ b/libs/cpustats/ThreadCpuUsage.cpp
@@ -99,7 +99,7 @@ void ThreadCpuUsage::sample()
mStatistics.sample((double) mAccumulator);
mAccumulator = 0;
} else {
- LOGW("Can't add sample because measurements have never been enabled");
+ ALOGW("Can't add sample because measurements have never been enabled");
}
}
@@ -119,7 +119,7 @@ long long ThreadCpuUsage::elapsed() const
(ts.tv_nsec - mMonotonicTs.tv_nsec);
}
} else {
- LOGW("Can't compute elapsed time because measurements have never been enabled");
+ ALOGW("Can't compute elapsed time because measurements have never been enabled");
elapsed = 0;
}
return elapsed;