aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/Stats.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-07-15 10:30:31 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-15 10:30:31 -0700
commit6238688af0d758660d344ec047243d4efefd6f4d (patch)
tree6cc5c78065cdf2591e69a84bf61697790dbad52c /tools/Stats.h
parent770787e07f4102569aee194ed3299b4645219e1b (diff)
Give windows boring bars and use 'us' for microseconds.
NOTREECHECKS=true BUG=skia: R=bsalomon@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/393673006
Diffstat (limited to 'tools/Stats.h')
-rw-r--r--tools/Stats.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/Stats.h b/tools/Stats.h
index 3f19af27cc..4fddc9bc18 100644
--- a/tools/Stats.h
+++ b/tools/Stats.h
@@ -6,7 +6,11 @@
#include "SkString.h"
#include "SkTSort.h"
-static const char* kBars[] = { "▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" };
+#ifdef SK_BUILD_FOR_WIN
+ static const char* kBars[] = { ".", "o", "O" };
+#else
+ static const char* kBars[] = { "▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" };
+#endif
struct Stats {
Stats(const double samples[], int n) {