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

Unified Diff: tools/tracesummary.dart

Issue 118673002: Add flag to control profiler rate (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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
« no previous file with comments | « runtime/vm/profiler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/tracesummary.dart
diff --git a/tools/tracesummary.dart b/tools/tracesummary.dart
index ef24888a05c359ca767fe526d1442a5d2f860b60..587894cec23144575023301a5f4aa190f7d0be36 100644
--- a/tools/tracesummary.dart
+++ b/tools/tracesummary.dart
@@ -68,7 +68,7 @@ class TraceSummary {
_marked = true;
_totalSamples++;
// Mark all symbols except the top with an inclusive tick.
- for (int i = 1; i < _stack.length - 1; i++) {
+ for (int i = 1; i < _stack.length; i++) {
_stack[i].inclusive++;
}
_stack.last.exclusive++;
« no previous file with comments | « runtime/vm/profiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698