aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkTime.h
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-24 20:17:24 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-24 20:17:24 +0000
commitd0306a15938a971e10dd8648d3e17b001c4b0014 (patch)
treec4ef3cae52cc3973ae40338ae5019d00375bf21f /include/core/SkTime.h
parentf1c0135425c6ed415ad303ac99e1a49f6a66a2ad (diff)
Revert of Add nanosecond timer. (https://codereview.chromium.org/250243002/)
Reason for revert: breaks EVERYTHING Original issue's description: > Add nanosecond timer. > > I've been finding it hard to get enough resolution out of our existing timers when measuring really tiny pictures. > > BUG=skia:2378 > > Committed: http://code.google.com/p/skia/source/detail?r=14362 R=bsalomon@google.com, bungeman@google.com, mtklein@chromium.org TBR=bsalomon@google.com, bungeman@google.com, mtklein@chromium.org NOTREECHECKS=true NOTRY=true BUG=skia:2378 Author: mtklein@google.com Review URL: https://codereview.chromium.org/258703002 git-svn-id: http://skia.googlecode.com/svn/trunk@14364 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkTime.h')
-rw-r--r--include/core/SkTime.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/core/SkTime.h b/include/core/SkTime.h
index c4a7d06fe3..51616d41c7 100644
--- a/include/core/SkTime.h
+++ b/include/core/SkTime.h
@@ -28,9 +28,7 @@ public:
};
static void GetDateTime(DateTime*);
- static SkMSec GetMSecs() { return GetNSecs() / 1000000; }
-
- static SkNSec GetNSecs();
+ static SkMSec GetMSecs();
};
#if defined(SK_DEBUG) && defined(SK_BUILD_FOR_WIN32)