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

Unified Diff: runtime/bin/vmservice/client/lib/src/service/object.dart

Issue 194503006: Code view tweaks and crasher fix (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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: runtime/bin/vmservice/client/lib/src/service/object.dart
diff --git a/runtime/bin/vmservice/client/lib/src/service/object.dart b/runtime/bin/vmservice/client/lib/src/service/object.dart
index 54b19a8abaabbfa3b4801f2c6a32e8932462a4e5..6d14e12e37db615417a6e8b3eaf8d2e0994c742a 100644
--- a/runtime/bin/vmservice/client/lib/src/service/object.dart
+++ b/runtime/bin/vmservice/client/lib/src/service/object.dart
@@ -404,7 +404,7 @@ class CodeInstruction extends Observable {
return '';
}
var pcent = formatPercent(tick.inclusiveTicks, code.totalSamplesInProfile);
- return '${tick.inclusiveTicks} ($pcent)';
+ return '$pcent (${tick.inclusiveTicks})';
}
@reflectable String formattedExclusive(Code code) {
@@ -416,7 +416,7 @@ class CodeInstruction extends Observable {
return '';
}
var pcent = formatPercent(tick.exclusiveTicks, code.totalSamplesInProfile);
- return '${tick.exclusiveTicks} ($pcent)';
+ return '$pcent (${tick.exclusiveTicks})';
}
}
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/elements/disassembly_entry.html ('k') | runtime/vm/deopt_instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698