Reason for revert: Potentially breaks a threading test under DrMemory. Rolling back while I investigate. Original issue's description: > Several Tick counter improvements. > > Move logic into cc file > Simplify interval calculation > Remove unused QUERY_PERFORMANCE_COUNTER windows implementation > Remove double divide on each ::Now() invocation on mac > > Move TickTime and TickInterval funcitons to cc file in prep for refactoring. > > BUG= > R=mflodman@webrtc.org, pbos@webrtc.org > > Committed: https://crrev.com/4c27e4b62da2047063d88eedfeec3e939fea7843 > Cr-Commit-Position: refs/heads/master@{#10661} TBR=pbos@webrtc.org,mflodman@webrtc.org,noahric@chromium.org,thaloun@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.webrtc.org/1450203002 Cr-Commit-Position: refs/heads/master@{#10663}