[llvm-exegesis] Allow measuring several instructions in a single run.
authorClement Courbet <courbet@google.com>
Wed, 17 Oct 2018 15:04:15 +0000 (15:04 +0000)
committerClement Courbet <courbet@google.com>
Wed, 17 Oct 2018 15:04:15 +0000 (15:04 +0000)
commitf973c2df9d21e82b169c88138bf9fafe75fa8e7d
tree8f58b70e56c30eb12dbe0002e813f29588658857
parentc0daf2a9780c0c2e9a0ea56125a746f60a8d1775
[llvm-exegesis] Allow measuring several instructions in a single run.

Summary:
We try to recover gracefully on instructions that would crash the
program.

This includes some refactoring of runMeasurement() implementations.

Reviewers: gchatelet

Subscribers: tschuett, llvm-commits

Differential Revision: https://reviews.llvm.org/D53371

llvm-svn: 344695
llvm/docs/CommandGuide/llvm-exegesis.rst
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
llvm/tools/llvm-exegesis/lib/Latency.cpp
llvm/tools/llvm-exegesis/lib/Latency.h
llvm/tools/llvm-exegesis/lib/Uops.cpp
llvm/tools/llvm-exegesis/lib/Uops.h
llvm/tools/llvm-exegesis/llvm-exegesis.cpp