commit | 65a87cc13d6babcf12844cca244ca7cc5258cadc | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Aug 14 13:15:44 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Aug 14 13:15:44 2012 +0000 |
tree | a2bef950e07b8cf01d692771da8d9400a4b3c0d5 | |
parent | 24b4df9d2e80f9fa1fa18a21739060b5189ae606 [diff] [blame] |
Add inst counting to bench and count SkPaths Review URL: http://codereview.appspot.com/6450129/ git-svn-id: http://skia.googlecode.com/svn/trunk@5076 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp index 73aa988..fa43155 100644 --- a/bench/benchmain.cpp +++ b/bench/benchmain.cpp
@@ -439,8 +439,11 @@ } int main (int argc, char * const argv[]) { +#ifdef SK_ENABLE_INST_COUNT + gPrintInstCount = true; +#endif SkAutoGraphics ag; - + SkTDict<const char*> defineDict(1024); int repeatDraw = 1; bool logPerIter = false;