[Timer] On macOS count number of executed instructions
authorAlex Hoppen <alex@alexhoppen.de>
Thu, 11 Feb 2021 16:25:27 +0000 (17:25 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 11 Feb 2021 16:26:37 +0000 (17:26 +0100)
commit7e3b9aba609f7f6c944baa319f0a61041ccdc707
tree296602d8fbfd536267e2633215b280330d2d8d3b
parentd96bb48f7874d636ffd0ee233e2d66fff0614b8f
[Timer] On macOS count number of executed instructions

In addition to wall time etc. this should allow us to get less noisy
values for time measurements.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D96049
clang-tools-extra/test/clang-tidy/infrastructure/clang-tidy-store-check-profile-one-tu.cpp
llvm/CMakeLists.txt
llvm/include/llvm/Config/config.h.cmake
llvm/include/llvm/Support/Timer.h
llvm/lib/Support/Timer.cpp