Chromium Code Reviews| Index: tools/perf/profile_creators/history_profile_extender.py |
| diff --git a/tools/perf/profile_creators/history_profile_extender.py b/tools/perf/profile_creators/history_profile_extender.py |
| index 6e1c133f21a8ab30ecce969b5cea391ea729a5d1..94cd63687268ad270d33494793c07bb7704d91cc 100644 |
| --- a/tools/perf/profile_creators/history_profile_extender.py |
| +++ b/tools/perf/profile_creators/history_profile_extender.py |
| @@ -84,7 +84,7 @@ class HistoryProfileExtender( |
| size = stat_info.st_size |
| max_size_threshold = 0.95 |
| - bytes_in_megabyte = 2**10 |
| + bytes_in_megabyte = 2**20 |
|
nednguyen
2015/02/19 20:05:04
Can you do this change in a different patch?
erikchen
2015/02/19 21:55:12
Done.
|
| max_size = (bytes_in_megabyte * |
| HistoryProfileExtender._HISTORY_DB_MAX_SIZE_IN_MB * max_size_threshold) |
| return size > max_size |