You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Jie Yu <yu...@gmail.com> on 2012/06/27 03:45:33 UTC

Review Request: Add interfaces to get time/clock information.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5602/
-----------------------------------------------------------

Review request for mesos and Benjamin Hindman.


Description
-------

Introduce two functions in common/utils

utils::time::time()
utils::time::clock()

Both of them return a double (in seconds). These two interfaces mimics the Python time.time() and time.clock() functions.


Diffs
-----

  src/common/utils.hpp 93192e7 

Diff: https://reviews.apache.org/r/5602/diff/


Testing
-------

Manual. Tested on Mac and Linux.


Thanks,

Jie Yu