diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-11 14:06:48 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-11 14:06:48 +0000 |
commit | 7903e0262e2dda44eaa186d126cf88e2cc1470eb (patch) | |
tree | a44957a8d1a49f0c590f797c0b36de8928bd5646 /base/time_posix.cc | |
parent | 32346a04167c5abcc16fd92bea50ec232b68e87d (diff) | |
download | chromium_src-7903e0262e2dda44eaa186d126cf88e2cc1470eb.zip chromium_src-7903e0262e2dda44eaa186d126cf88e2cc1470eb.tar.gz chromium_src-7903e0262e2dda44eaa186d126cf88e2cc1470eb.tar.bz2 |
Don't use the Windows high-resolution Time::Now hacks on Posix, the normal resultion from the time APIs there should be enough.
Review URL: http://codereview.chromium.org/2420
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2056 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/time_posix.cc')
-rw-r--r-- | base/time_posix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/time_posix.cc b/base/time_posix.cc index 793687e..88c49a2 100644 --- a/base/time_posix.cc +++ b/base/time_posix.cc @@ -25,7 +25,7 @@ const int64 Time::kTimeTToMicrosecondsOffset = GG_INT64_C(0); // static -int64 Time::CurrentWallclockMicroseconds() { +Time Time::Now() { struct timeval tv; struct timezone tz = { 0, 0 }; // UTC if (gettimeofday(&tv, &tz) != 0) { |