Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: tools/perf/profile_creators/history_profile_extender.py

Issue 939143004: Telemetry: Fix several small problems in the profile creator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698