SkTime::GetNSecs()
authormtklein <mtklein@chromium.org>
Thu, 22 Oct 2015 20:33:21 +0000 (13:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 22 Oct 2015 20:33:22 +0000 (13:33 -0700)
commita1840d50e29fd95e4df2d1168fe54c34c2a5c30c
tree77e89242b2f3ae8ecf71da647fc651b3b124012f
parentc9b5f8b1522e72449d704d30ed6aee4fc6211ee8
SkTime::GetNSecs()

   - Move high-precision wall timers from tools/timer to SkTime.
   - Implement SkTime::GetMSecs() in terms of SkTime::GetNSecs().
   - Delete unused tools/timer code.

I have no idea what's going on there in src/animator.
I don't intend to investigate.

BUG=skia:

Committed: https://skia.googlesource.com/skia/+/70084cbc16ee8162649f2601377feb6e49de0217

CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Debug-CrOS_Link-Trybot

Review URL: https://codereview.chromium.org/1422513003
19 files changed:
gyp/core.gyp
gyp/tools.gyp
include/core/SkTime.h
src/animator/SkTime.cpp
src/core/SkTime.cpp
src/ports/SkTime_Unix.cpp
src/ports/SkTime_win.cpp
tools/timer/GpuTimer.cpp [deleted file]
tools/timer/GpuTimer.h [deleted file]
tools/timer/SysTimer_mach.cpp [deleted file]
tools/timer/SysTimer_mach.h [deleted file]
tools/timer/SysTimer_posix.cpp [deleted file]
tools/timer/SysTimer_posix.h [deleted file]
tools/timer/SysTimer_windows.cpp [deleted file]
tools/timer/SysTimer_windows.h [deleted file]
tools/timer/Timer.cpp
tools/timer/Timer.h
tools/timer/TimerData.cpp [deleted file]
tools/timer/TimerData.h [deleted file]