diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 15:01:12 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 15:01:12 +0000 |
commit | 52a261f59b20e89f8c5936bce642362f8e367b57 (patch) | |
tree | fcc7b3c100caaf43848cd9a241beafc883f93b7d /base/time_win.cc | |
parent | 7d926f9072ac496db6df715cc6a6bd5d3f9bd011 (diff) | |
download | chromium_src-52a261f59b20e89f8c5936bce642362f8e367b57.zip chromium_src-52a261f59b20e89f8c5936bce642362f8e367b57.tar.gz chromium_src-52a261f59b20e89f8c5936bce642362f8e367b57.tar.bz2 |
NO CODE CHANGE (except one global std::wstring changed to const wchar_t* const per style compliance).
Preliminary work to enforce new PRESUBMIT.py rules:
- <=80 cols
- no trailing whitespaces
- svn:eol-style=LF
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10791 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/time_win.cc')
-rw-r--r-- | base/time_win.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/base/time_win.cc b/base/time_win.cc index 06bf1d3..0174a90 100644 --- a/base/time_win.cc +++ b/base/time_win.cc @@ -23,8 +23,8 @@ // applications on the system. By default, precision is only 15.5ms. // Unfortunately, we don't want to call timeBeginPeriod because we don't // want to affect other applications. Further, on mobile platforms, use of -// faster multimedia timers can hurt battery life. See the intel -// article about this here: +// faster multimedia timers can hurt battery life. See the intel +// article about this here: // http://softwarecommunity.intel.com/articles/eng/1086.htm // // To work around all this, we're going to generally use timeGetTime(). We @@ -224,7 +224,7 @@ class NowSingleton : public base::SystemMonitor::PowerObserver { public: NowSingleton() : rollover_(TimeDelta::FromMilliseconds(0)), - last_seen_(0), + last_seen_(0), hi_res_clock_enabled_(false) { base::SystemMonitor* system = base::SystemMonitor::Get(); system->AddObserver(this); @@ -307,9 +307,9 @@ class NowSingleton : public base::SystemMonitor::PowerObserver { // retrieve and more reliable. class HighResNowSingleton { public: - HighResNowSingleton() + HighResNowSingleton() : ticks_per_microsecond_(0.0), - skew_(0) { + skew_(0) { InitializeClock(); // On Athlon X2 CPUs (e.g. model 15) QueryPerformanceCounter is |