forked from google/skia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace int Benchmark::calculateLoops(int) with bool Benchmark::shoul…
…dLoop(). Given that this method and all its overrides return either 1 or the given number of loops, let's replace it with a method that returns a boolean. Motivation: - Less confusing. - Simplifies the BenchmarkBazelRunner.cpp program I'm working on (see https://skia-review.googlesource.com/c/skia/+/762118). Bug: b/40045301 Change-Id: I8b2a35c525d3945218b6ae3020a92a8230ac124a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/761737 Reviewed-by: John Stiles <[email protected]> Commit-Queue: Leandro Lovisolo <[email protected]> Auto-Submit: Leandro Lovisolo <[email protected]>
- Loading branch information
1 parent
b708dd7
commit c66c89c
Showing
4 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters