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

Side by Side Diff: tools/PictureResultsWriter.h

Issue 831113002: Cleanup: More override fixes - another round. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « src/animator/SkTextToPath.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 * 6 *
7 * Classes for writing out bench results in various formats. 7 * Classes for writing out bench results in various formats.
8 */ 8 */
9 9
10 #ifndef SkPictureResultsWriter_DEFINED 10 #ifndef SkPictureResultsWriter_DEFINED
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 TimerData* data, 131 TimerData* data,
132 const char format[], 132 const char format[],
133 const TimerData::Result result, 133 const TimerData::Result result,
134 uint32_t timerTypes, 134 uint32_t timerTypes,
135 int numInnerLoops = 1) SK_OVERRIDE { 135 int numInnerLoops = 1) SK_OVERRIDE {
136 SkString results = data->getResult(format, result, 136 SkString results = data->getResult(format, result,
137 fCurrentLine.c_str(), timerTypes, numInnerLoops); 137 fCurrentLine.c_str(), timerTypes, numInnerLoops);
138 results.append("\n"); 138 results.append("\n");
139 this->logProgress(results.c_str()); 139 this->logProgress(results.c_str());
140 } 140 }
141 virtual void end() {} 141 virtual void end() SK_OVERRIDE {}
142 private: 142 private:
143 BenchLogger* fLogger; 143 BenchLogger* fLogger;
144 SkString fCurrentLine; 144 SkString fCurrentLine;
145 }; 145 };
146 146
147 /** 147 /**
148 * This PictureResultsWriter collects data in a JSON node 148 * This PictureResultsWriter collects data in a JSON node
149 * 149 *
150 * The format is something like 150 * The format is something like
151 * { 151 * {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 301
302 SkString fConfigString; 302 SkString fConfigString;
303 SkString fBuilderName; 303 SkString fBuilderName;
304 int fBuildNumber; 304 int fBuildNumber;
305 int fTimestamp; 305 int fTimestamp;
306 SkString fGitHash; 306 SkString fGitHash;
307 int fGitNumber; 307 int fGitNumber;
308 }; 308 };
309 309
310 #endif 310 #endif
OLDNEW
« no previous file with comments | « src/animator/SkTextToPath.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698