Turn off per-iteration tile time reporting
It's overloading the bench graph generator. Review URL: https://codereview.appspot.com/7300088 git-svn-id: http://skia.googlecode.com/svn/trunk@7691 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
8626719107
commit
b15e6061c6
@ -109,10 +109,10 @@ void PictureBenchmark::run(SkPicture* pict) {
|
|||||||
// seems to cause problems (i.e., INVALID_OPERATIONs) on several
|
// seems to cause problems (i.e., INVALID_OPERATIONs) on several
|
||||||
// platforms. To work around this, we disable the gpu timer on the
|
// platforms. To work around this, we disable the gpu timer on the
|
||||||
// long running timer.
|
// long running timer.
|
||||||
SkAutoTDelete<BenchTimer> longRunningTimer(this->setupTimer(false));
|
SkAutoTDelete<BenchTimer> longRunningTimer(this->setupTimer());
|
||||||
TimerData longRunningTimerData(tiledRenderer->getPerIterTimeFormat(),
|
TimerData longRunningTimerData(tiledRenderer->getPerIterTimeFormat(),
|
||||||
tiledRenderer->getNormalTimeFormat());
|
tiledRenderer->getNormalTimeFormat());
|
||||||
SkAutoTDelete<BenchTimer> perTileTimer(this->setupTimer());
|
SkAutoTDelete<BenchTimer> perTileTimer(this->setupTimer(false));
|
||||||
TimerData perTileTimerData(tiledRenderer->getPerIterTimeFormat(),
|
TimerData perTileTimerData(tiledRenderer->getPerIterTimeFormat(),
|
||||||
tiledRenderer->getNormalTimeFormat());
|
tiledRenderer->getNormalTimeFormat());
|
||||||
longRunningTimer->start();
|
longRunningTimer->start();
|
||||||
@ -137,7 +137,14 @@ void PictureBenchmark::run(SkPicture* pict) {
|
|||||||
fShowTruncatedCpuTime,
|
fShowTruncatedCpuTime,
|
||||||
usingGpu && fShowGpuTime);
|
usingGpu && fShowGpuTime);
|
||||||
result.append("\n");
|
result.append("\n");
|
||||||
|
|
||||||
|
// TODO(borenet): Turn off per-iteration tile time reporting for now. Avoiding logging the time
|
||||||
|
// for every iteration for each tile cuts down on data file size by a significant amount. Re-enable
|
||||||
|
// this once we're loading the bench data directly into a data store and are no longer generating
|
||||||
|
// SVG graphs.
|
||||||
|
#if 0
|
||||||
this->logProgress(result.c_str());
|
this->logProgress(result.c_str());
|
||||||
|
#endif
|
||||||
|
|
||||||
configName.append(" <averaged>");
|
configName.append(" <averaged>");
|
||||||
SkString longRunningResult = longRunningTimerData.getResult(false, false, fRepeats,
|
SkString longRunningResult = longRunningTimerData.getResult(false, false, fRepeats,
|
||||||
|
Loading…
Reference in New Issue
Block a user