summaryrefslogtreecommitdiffstats
path: root/cc/debug/layer_tree_debug_state.h
diff options
context:
space:
mode:
authordominikg@chromium.org <dominikg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-13 19:40:58 +0000
committerdominikg@chromium.org <dominikg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-13 19:40:58 +0000
commit29d39a4adb6f9b2a4e05bb3f95140df2e3957ec7 (patch)
treeed44e1e28e3bbe7772fd44843bab4c226271e4a7 /cc/debug/layer_tree_debug_state.h
parent08035b96da9bb56a4a857f99756ae47743f2975b (diff)
downloadchromium_src-29d39a4adb6f9b2a4e05bb3f95140df2e3957ec7.zip
chromium_src-29d39a4adb6f9b2a4e05bb3f95140df2e3957ec7.tar.gz
chromium_src-29d39a4adb6f9b2a4e05bb3f95140df2e3957ec7.tar.bz2
Use LapTimer in rasterize_and_record micro benchmark.
Timing record or rasterize on very small layers can be problematic. The operations are very short and timing them individually can lead to quantization. Use a LapTimer to run the operations we're timing for at least a specified amount of time to avoid this problem. Moves LapTimer from cc/test to cc/debug so it's accessible outside of testing code. BUG= Review URL: https://codereview.chromium.org/279183002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270170 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/debug/layer_tree_debug_state.h')
0 files changed, 0 insertions, 0 deletions