summaryrefslogtreecommitdiff
path: root/libs/cpustats/ThreadCpuUsage.cpp
diff options
context:
space:
mode:
author Steve Block <steveblock@google.com> 2012-01-05 23:22:43 +0000
committer Steve Block <steveblock@google.com> 2012-01-06 10:07:54 +0000
commit8564c8da817a845353d213acd8636b76f567b234 (patch)
tree71acbd8ace822c769aef917629bf5a079f63274d /libs/cpustats/ThreadCpuUsage.cpp
parentc42e6a0bed2c88fd03466c5104d62d7f98e68768 (diff)
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
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;