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

Unified Diff: dm/DMReporter.cpp

Issue 88543002: DM: some refactoring (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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: dm/DMReporter.cpp
diff --git a/dm/DMReporter.cpp b/dm/DMReporter.cpp
index 0e01d71f20c779397427671e5d6a5d83a36a5c9d..31310d1cd9a70cbf7610ed03ae7fa91c454182d8 100644
--- a/dm/DMReporter.cpp
+++ b/dm/DMReporter.cpp
@@ -12,7 +12,7 @@ void Reporter::updateStatusLine() const {
}
SkString status;
- status.printf("\r\033[K%d / %d", this->finished(), this->started());
+ status.printf("\r\033[K%d tasks left", this->started() - this->finished());
epoger 2013/11/26 17:55:22 This user prefers to see "completed X of Y", rathe
bsalomon 2013/11/26 18:21:52 That is potentially misleading as Y grows in DM.
mtklein 2013/11/26 18:25:30 Have you run this or just talking abstractly? I'd
epoger 2013/11/26 18:34:48 I have not run DM, and it's not a big deal to me e
const int failed = this->failed();
if (failed > 0) {
status.appendf(", %d failed", failed);

Powered by Google App Engine
This is Rietveld 408576698