summaryrefslogtreecommitdiff
path: root/libs/cpustats/ThreadCpuUsage.cpp
diff options
context:
space:
mode:
author Jean-Baptiste Queru <jbq@google.com> 2012-01-19 17:28:26 -0800
committer Android Git Automerger <android-git-automerger@android.com> 2012-01-19 17:28:26 -0800
commitdb2b39300a8f763cf2d0c9808deb86db87d5492c (patch)
treefce1cbeaacc788437bfba6ae0655e93fd74c9271 /libs/cpustats/ThreadCpuUsage.cpp
parentdde686e2bdf7ea679dae4fd4edbf94c71802dc28 (diff)
parentf3f650db96d40014a0203393c585c368b0dd7a9a (diff)
am f3f650db: am a826f9e2: Merge "Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)"
* commit 'f3f650db96d40014a0203393c585c368b0dd7a9a': Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
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 4bfbdf306428..c1fb365b803d 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;