| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 #include "Benchmark.h" | 8 #include "Benchmark.h" |
| 9 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
| 10 #include "SkChunkAlloc.h" | 10 #include "SkChunkAlloc.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 alloc.reset(); | 48 alloc.reset(); |
| 49 } | 49 } |
| 50 } | 50 } |
| 51 | 51 |
| 52 private: | 52 private: |
| 53 typedef Benchmark INHERITED; | 53 typedef Benchmark INHERITED; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 DEF_BENCH( return new ChunkAllocBench(64); ) | 56 DEF_BENCH( return new ChunkAllocBench(64); ) |
| 57 DEF_BENCH( return new ChunkAllocBench(8*1024); ) | 57 DEF_BENCH( return new ChunkAllocBench(8*1024); ) |
| 58 | |
| OLD | NEW |