diff options
author | simonjam@chromium.org <simonjam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 19:46:05 +0000 |
---|---|---|
committer | simonjam@chromium.org <simonjam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 19:46:05 +0000 |
commit | aa31281d74a2d0a4a37185ec2888d06eb726eb16 (patch) | |
tree | 96a9403e28a301d040c272af6e28fbac354ca345 /chrome/chrome_tests_unit.gypi | |
parent | e98a235bf3764de80423b0854b84de76c81f1778 (diff) | |
download | chromium_src-aa31281d74a2d0a4a37185ec2888d06eb726eb16.zip chromium_src-aa31281d74a2d0a4a37185ec2888d06eb726eb16.tar.gz chromium_src-aa31281d74a2d0a4a37185ec2888d06eb726eb16.tar.bz2 |
Create a field trial to test if we can detect good QPC implementations.
We'd like to use QPC (TimeTicks::HighResNow) for all uses of TimeTicks. It's
likely this will only work on some subset of Windows systems. This field trial
is meant to determine if an implementation is good and if our heuristics are
able to detect a good implementation.
This particular CL checks for an Intel CPU parameter that indicates rdtsc is
consistently incremented. Firefox uses the same check. I hope to determine that
this is in fact correct and on which versions of Windows QPC calls rdtsc
directly.
We can add more heuristics later.
BUG=158234
Review URL: https://chromiumcodereview.appspot.com/13583007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197431 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_tests_unit.gypi')
-rw-r--r-- | chrome/chrome_tests_unit.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome_tests_unit.gypi b/chrome/chrome_tests_unit.gypi index f14f1a5..e775856 100644 --- a/chrome/chrome_tests_unit.gypi +++ b/chrome/chrome_tests_unit.gypi @@ -911,6 +911,7 @@ 'browser/metrics/metrics_log_serializer_unittest.cc', 'browser/metrics/metrics_service_unittest.cc', 'browser/metrics/thread_watcher_unittest.cc', + 'browser/metrics/time_ticks_experiment_unittest.cc', 'browser/metrics/variations/variations_service_unittest.cc', 'browser/metrics/variations/resource_request_allowed_notifier_test_util.cc', 'browser/metrics/variations/resource_request_allowed_notifier_test_util.h', |