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

Unified Diff: bench/ChartBench.cpp

Issue 23478013: Major bench refactoring. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: merge with head agani 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
« no previous file with comments | « bench/BlurRectBench.cpp ('k') | bench/ChecksumBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/ChartBench.cpp
diff --git a/bench/ChartBench.cpp b/bench/ChartBench.cpp
index 1ecf30ab842f623b672d1cd484d0d52301e7679b..699004906520f9e2d6415e072b6b0feddf970c6b 100644
--- a/bench/ChartBench.cpp
+++ b/bench/ChartBench.cpp
@@ -127,7 +127,7 @@ protected:
}
}
- for (int frame = 0; frame < kFramesPerRun; ++frame) {
+ for (int frame = 0; frame < this->getLoops(); ++frame) {
canvas->clear(0xFFE0F0E0);
@@ -183,8 +183,6 @@ private:
kNumGraphs = 5,
kPixelsPerTick = 3,
kShiftPerFrame = 1,
-
- kFramesPerRun = SkBENCHLOOP(5),
};
int fShift;
SkISize fSize;
« no previous file with comments | « bench/BlurRectBench.cpp ('k') | bench/ChecksumBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698