diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-09-06 11:46:43 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-09-06 11:46:43 -0700 |
commit | d6d54a469476f7756b1ce64d10688ec43857ce5a (patch) | |
tree | f3d863aab2dc2441660cddbb106f71fc8dfadb27 /services | |
parent | 7314eb087f7318118fbf80827789a2626a8f66b5 (diff) | |
download | frameworks_base-d6d54a469476f7756b1ce64d10688ec43857ce5a.zip frameworks_base-d6d54a469476f7756b1ce64d10688ec43857ce5a.tar.gz frameworks_base-d6d54a469476f7756b1ce64d10688ec43857ce5a.tar.bz2 |
Fix to show correct duration.
Change-Id: I1032d90d5b7bf39006b20f3374104421dcc53305
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/am/ProcessStatsService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/java/com/android/server/am/ProcessStatsService.java b/services/java/com/android/server/am/ProcessStatsService.java index 55409c2..43ae46f 100644 --- a/services/java/com/android/server/am/ProcessStatsService.java +++ b/services/java/com/android/server/am/ProcessStatsService.java @@ -413,6 +413,7 @@ public final class ProcessStatsService extends IProcessStats.Stub { mWriteLock.lock(); try { synchronized (mAm) { + mProcessStats.mTimePeriodEndRealtime = SystemClock.elapsedRealtime(); mProcessStats.writeToParcel(current, 0); } if (historic != null) { |