[mlpack-git] [mlpack] Changes to solve issue #498: Replacing timer implementation (#567)

Naman Taneja notifications at github.com
Mon Mar 14 01:12:13 EDT 2016


The commit includes changes for replacement of timers code with std::chrono library of C++11. Instead of 2 maps, we now use 3 maps. The extra map stores the starting time_point of the timer and rest the timers map stores the duration of microseconds elapsed in the timer. Since, this works cross-platform, the unnecessary codes have been removed.
You can view, comment on, or merge this pull request online at:

  https://github.com/mlpack/mlpack/pull/567

-- Commit Summary --

  * Changes to solve issue #498: Replacing timer implementation

-- File Changes --

    M src/mlpack/core/util/cli.cpp (4)
    M src/mlpack/core/util/timers.cpp (169)
    M src/mlpack/core/util/timers.hpp (57)
    M src/mlpack/tests/cli_test.cpp (8)

-- Patch Links --

https://github.com/mlpack/mlpack/pull/567.patch
https://github.com/mlpack/mlpack/pull/567.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/567
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160313/70600193/attachment.html>


More information about the mlpack-git mailing list