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

Unified Diff: runtime/vm/metrics.cc

Issue 2148613002: Have --print-metrics use stderr to work around issue with analyzer_cli (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: rmacnak review Created 4 years, 5 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
« no previous file with comments | « runtime/vm/isolate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/metrics.cc
diff --git a/runtime/vm/metrics.cc b/runtime/vm/metrics.cc
index cb6c2055217070efbcbff0918f9844cdfd9cf109..581ed826748566b5c2efa642b51ca371f5110f36 100644
--- a/runtime/vm/metrics.cc
+++ b/runtime/vm/metrics.cc
@@ -306,13 +306,13 @@ void Metric::Cleanup() {
if (FLAG_print_metrics) {
// Create a zone to allocate temporary strings in.
StackZone sz(Thread::Current());
- OS::Print("Printing metrics for VM\n");
+ OS::PrintErr("Printing metrics for VM\n");
Metric* current = Metric::vm_head();
while (current != NULL) {
- OS::Print("%s\n", current->ToString());
+ OS::PrintErr("%s\n", current->ToString());
current = current->next();
}
- OS::Print("\n");
+ OS::PrintErr("\n");
}
}
« no previous file with comments | « runtime/vm/isolate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698