aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-14 13:15:44 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-14 13:15:44 +0000
commit65a87cc13d6babcf12844cca244ca7cc5258cadc (patch)
treea2bef950e07b8cf01d692771da8d9400a4b3c0d5 /src
parent24b4df9d2e80f9fa1fa18a21739060b5189ae606 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/core/SkPath.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
index 1127e956ea..a9937ab9a0 100644
--- a/src/core/SkPath.cpp
+++ b/src/core/SkPath.cpp
@@ -11,6 +11,8 @@
#include "SkBuffer.h"
#include "SkMath.h"
+SK_DEFINE_INST_COUNT(SkPath);
+
// This value is just made-up for now. When count is 4, calling memset was much
// slower than just writing the loop. This seems odd, and hopefully in the
// future this we appear to have been a fluke...