summaryrefslogtreecommitdiffstats
path: root/cc/cc_tests.gyp
diff options
context:
space:
mode:
authorajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 04:33:51 +0000
committerajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 04:33:51 +0000
commite68684ab7f0230ea6f9a5ca051eb920d4e4995e4 (patch)
tree1697e314610d01afc77df0d94eaa5306ee387924 /cc/cc_tests.gyp
parent452a9d6f914580c4c5589b6fb4ba51e3dae356c0 (diff)
downloadchromium_src-e68684ab7f0230ea6f9a5ca051eb920d4e4995e4.zip
chromium_src-e68684ab7f0230ea6f9a5ca051eb920d4e4995e4.tar.gz
chromium_src-e68684ab7f0230ea6f9a5ca051eb920d4e4995e4.tar.bz2
Support computing percentiles on a rolling window of samples
This defines RollingTimeDeltaHistory, a class that stores a limited number of samples (of type base::TimeDelta) and allows computing percentiles on the stored set. When the maximum size is reached, each insertion results in the deletion of the oldest remaining sample. BUG=243459 Review URL: https://chromiumcodereview.appspot.com/15647015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203847 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/cc_tests.gyp')
-rw-r--r--cc/cc_tests.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/cc_tests.gyp b/cc/cc_tests.gyp
index 0040ae6..22659ca 100644
--- a/cc/cc_tests.gyp
+++ b/cc/cc_tests.gyp
@@ -63,6 +63,7 @@
'resources/tile_priority_unittest.cc',
'scheduler/delay_based_time_source_unittest.cc',
'scheduler/frame_rate_controller_unittest.cc',
+ 'scheduler/rolling_time_delta_history_unittest.cc',
'scheduler/scheduler_state_machine_unittest.cc',
'scheduler/scheduler_unittest.cc',
'scheduler/texture_uploader_unittest.cc',