Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / metrics / time_ticks_experiment_win.h
blobd89b6750e31774ea6b1f83bbc28b1c6d4a48068e
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.
5 #ifndef CHROME_BROWSER_METRICS_TIME_TICKS_EXPERIMENT_WIN_H_
6 #define CHROME_BROWSER_METRICS_TIME_TICKS_EXPERIMENT_WIN_H_
8 #include "build/build_config.h"
10 #if defined(OS_WIN)
12 namespace chrome {
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();
20 } // namespace chrome
22 #endif // defined(OS_WIN)
24 #endif // CHROME_BROWSER_METRICS_TIME_TICKS_EXPERIMENT_WIN_H_