From f9c2e35ba2bc568bfefdd74e556353a77933b1c8 Mon Sep 17 00:00:00 2001 From: "skyostil@chromium.org" Date: Fri, 3 Jan 2014 22:37:39 +0000 Subject: Add synthetic delay testing framework This patch introduces a synthetic delay framework for testing. It will be used to measure animation smoothness and input latency under varying loads in different parts of the graphics and input pipelines. The basic building block for synthetic delays is the delay point which is inserted to a function scope of interest, e.g.: TRACE_EVENT_SYNTHETIC_DELAY("cc.DrawAndSwap"); Testing code can then configure how long the enclosing scope of the delay point should take to execute. If the function completes faster than the configured duration, a busy loop is used to make up the difference. BUG=307841,324057 Review URL: https://codereview.chromium.org/53923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242947 0039d316-1c4b-4281-b951-d872f2087c98 --- base/base.gyp | 1 + 1 file changed, 1 insertion(+) (limited to 'base/base.gyp') diff --git a/base/base.gyp b/base/base.gyp index 52ea2e2..7c2b54d 100644 --- a/base/base.gyp +++ b/base/base.gyp @@ -470,6 +470,7 @@ 'debug/proc_maps_linux_unittest.cc', 'debug/stack_trace_unittest.cc', 'debug/trace_event_memory_unittest.cc', + 'debug/trace_event_synthetic_delay_unittest.cc', 'debug/trace_event_system_stats_monitor_unittest.cc', 'debug/trace_event_unittest.cc', 'debug/trace_event_unittest.h', -- cgit v1.1