OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 #include "Benchmark.h" | 7 #include "Benchmark.h" |
9 #include "SkFloatBits.h" | 8 #include "SkFloatBits.h" |
10 #include "SkRandom.h" | 9 #include "SkRandom.h" |
11 #include "SkRect.h" | 10 #include "SkRect.h" |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 private: | 160 private: |
162 typedef Benchmark INHERITED; | 161 typedef Benchmark INHERITED; |
163 }; | 162 }; |
164 | 163 |
165 /////////////////////////////////////////////////////////////////////////////// | 164 /////////////////////////////////////////////////////////////////////////////// |
166 | 165 |
167 DEF_BENCH( return new FloatComparisonBench(); ) | 166 DEF_BENCH( return new FloatComparisonBench(); ) |
168 DEF_BENCH( return new ForcedIntComparisonBench(); ) | 167 DEF_BENCH( return new ForcedIntComparisonBench(); ) |
169 DEF_BENCH( return new RectBoundsBench(); ) | 168 DEF_BENCH( return new RectBoundsBench(); ) |
170 DEF_BENCH( return new IsFiniteScalarBench(); ) | 169 DEF_BENCH( return new IsFiniteScalarBench(); ) |
OLD | NEW |