Return the correct resolution for clock_getres
authorChristopher Dykes <cdykes@fb.com>
Wed, 9 Nov 2016 19:07:23 +0000 (11:07 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Wed, 9 Nov 2016 19:08:33 +0000 (11:08 -0800)
commit248a4ac3b2eda07bc98d571984c74bdb7114a944
treec1f2546da9ae8323130f10474be98707818b97ab
parent9bb2b0dfcb597b8cbdf0e6db4af2607d64740cb3
Return the correct resolution for clock_getres

Summary: When the implementation of `clock_gettime` for `REALTIME` and `MONOTONIC` was switched to use `std::chrono`, this didn't get switched over to the resolution of the new implementation.

Reviewed By: yfeldblum

Differential Revision: D4150297

fbshipit-source-id: a4578af85cae538a3ebb6da7e759058927c31d3e
folly/portability/Time.cpp