Move HHWheelTimer to folly
authorDave Watson <davejwatson@fb.com>
Tue, 26 Aug 2014 17:24:34 +0000 (10:24 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 9 Sep 2014 21:22:23 +0000 (14:22 -0700)
commitc39f3adf19de35d375e07d4f252caf192a6a7af1
treee2fc74f8c74fb1b511bcaecdc97cab33025ef699
parent8470cb6ed9524328bffa359522dba32b5f12e746
Move HHWheelTimer to folly

Summary:
Move wheel timer to folly.  Needed for abstracting some code out of proxygen/thrift

The only code change was removing usage of thrift's Util::currentTime() in favor of std::chrono::steady_clock::now()

Test Plan: fbconfig thrift/lib/cpp/test:HHWheelTimerTest; fbmake runtests

Reviewed By: alandau@fb.com

Subscribers: doug, alandau, bmatheny, njormrod

FB internal diff: D1519909
folly/Makefile.am
folly/io/async/HHWheelTimer.cpp [new file with mode: 0644]
folly/io/async/HHWheelTimer.h [new file with mode: 0644]