diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-09-23 22:10:08 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-09-23 22:10:09 +0000 |
commit | 2d4eee38295e2cc65f280bf90580dccb5ef1d266 (patch) | |
tree | 8c9c0c45d39e4ef50a464491b4e101f6eb02a1b7 /services | |
parent | d38904965d03e9e9b902b78cadfb8b7a799855a9 (diff) | |
parent | 6d9ef38b0603133ee1a9c7bd63f1d971ae1d62ad (diff) | |
download | frameworks_base-2d4eee38295e2cc65f280bf90580dccb5ef1d266.zip frameworks_base-2d4eee38295e2cc65f280bf90580dccb5ef1d266.tar.gz frameworks_base-2d4eee38295e2cc65f280bf90580dccb5ef1d266.tar.bz2 |
Merge "Implement issue #10895990: Better durations for proc stats" into klp-dev
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/am/ProcessStatsService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/java/com/android/server/am/ProcessStatsService.java b/services/java/com/android/server/am/ProcessStatsService.java index 0a1685c..be08973 100644 --- a/services/java/com/android/server/am/ProcessStatsService.java +++ b/services/java/com/android/server/am/ProcessStatsService.java @@ -56,12 +56,12 @@ public final class ProcessStatsService extends IProcessStats.Stub { // exists in and the offset into the array to find it. The constants below // define the encoding of that data in an integer. - static final int MAX_HISTORIC_STATES = 6; // Maximum number of historic states we will keep. + static final int MAX_HISTORIC_STATES = 8; // Maximum number of historic states we will keep. static final String STATE_FILE_PREFIX = "state-"; // Prefix to use for state filenames. static final String STATE_FILE_SUFFIX = ".bin"; // Suffix to use for state filenames. static final String STATE_FILE_CHECKIN_SUFFIX = ".ci"; // State files that have checked in. static long WRITE_PERIOD = 30*60*1000; // Write file every 30 minutes or so. - static long COMMIT_PERIOD = 12*60*60*1000; // Commit current stats every 12 hours. + static long COMMIT_PERIOD = 3*60*60*1000; // Commit current stats every 3 hours. final ActivityManagerService mAm; final File mBaseDir; |