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

Side by Side Diff: tools/VisualBench/VisualBenchmarkStream.h

Issue 1375363003: Factor out VisualBench timing code into a helper class (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 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 */ 7 */
8 8
9 #ifndef VisualBenchmarkStream_DEFINED 9 #ifndef VisualBenchmarkStream_DEFINED
10 #define VisualBenchmarkStream_DEFINED 10 #define VisualBenchmarkStream_DEFINED
(...skipping 16 matching lines...) Expand all
27 private: 27 private:
28 Benchmark* innerNext(); 28 Benchmark* innerNext();
29 29
30 const BenchRegistry* fBenches; 30 const BenchRegistry* fBenches;
31 const skiagm::GMRegistry* fGMs; 31 const skiagm::GMRegistry* fGMs;
32 SkTArray<SkString> fSKPs; 32 SkTArray<SkString> fSKPs;
33 33
34 const char* fSourceType; // What we're benching: bench, GM, SKP, ... 34 const char* fSourceType; // What we're benching: bench, GM, SKP, ...
35 const char* fBenchType; // How we bench it: micro, playback, ... 35 const char* fBenchType; // How we bench it: micro, playback, ...
36 int fCurrentSKP; 36 int fCurrentSKP;
37 bool fIsWarmedUp;
37 }; 38 };
38 39
39 #endif 40 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698