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

Unified Diff: bench/BlurBench.cpp

Issue 23478013: Major bench refactoring. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: scroggo Created 7 years, 3 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
Index: bench/BlurBench.cpp
diff --git a/bench/BlurBench.cpp b/bench/BlurBench.cpp
index 5f2f425fbe870d834cf2c9eea61a76aa09f81fd5..b91cb3e18f7a48f355e20766c569f75ae57f6b47 100644
--- a/bench/BlurBench.cpp
+++ b/bench/BlurBench.cpp
@@ -57,7 +57,7 @@ protected:
paint.setAntiAlias(true);
SkRandom rand;
- for (int i = 0; i < SkBENCHLOOP(10); i++) {
+ for (int i = 0; i < this->getLoops(); i++) {
SkRect r = SkRect::MakeWH(rand.nextUScalar1() * 400,
rand.nextUScalar1() * 400);
r.offset(fRadius, fRadius);

Powered by Google App Engine
This is Rietveld 408576698