OLD | NEW |
---|---|
(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_ | |
OLD | NEW |