summaryrefslogtreecommitdiffstats
path: root/libcxxabi/test/support/timer.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix comment on end of #endif to match #ifEric Fiselier2014-11-251-1/+1
| | | | llvm-svn: 222719
* [libcxxabi] Refactor test timing logic and disable by default.Eric Fiselier2014-11-241-0/+46
Summary: When using LIT the timing output is entirely unused but introduces a dependency on `<chrono>`. When libc++ is built without a montonic clock this causes some of the tests to fail. This patch factors out all of the timing logic into `support/timer.hpp` and disables it by default. To enable the timing you must define `LIBCXXABI_TIME_TESTS`. Reviewers: mclow.lists, danalbert, jroelofs Reviewed By: jroelofs Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6391 llvm-svn: 222701
OpenPOWER on IntegriCloud