Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Side by Side Diff: chrome/browser/metrics/time_ticks_experiment_win.h

Issue 13583007: Create a field trial to test if we can detect good QPC implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore affinity at the end Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_METRICS_TIME_TICKS_EXPERIMENT_WIN_H_
6 #define CHROME_BROWSER_METRICS_TIME_TICKS_EXPERIMENT_WIN_H_
7
8 #include "build/build_config.h"
9
10 #if defined(OS_WIN)
11
12 namespace chrome_browser_metrics {
darin (slow to review) 2013/04/22 18:25:05 I'm not a fan of this style of namespace. I think
13
14 // Runs an experiment once per session upon successful upload of UMA. Determines
15 // if QueryPerformanceCounter() is safe to use generally on this system. Ensures
16 // that the resolution is better than 1ms, returns quickly, and is monotonically
17 // increasing. Records the results in UMA for the next upload.
18 void CollectTimeTicksStats();
19
20 } // namespace chrome_browser_metrics
21
22 #endif // defined(OS_WIN)
23
24 #endif // CHROME_BROWSER_METRICS_TIME_TICKS_EXPERIMENT_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698