This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis] Add a Configuration object for Benchmark.
ClosedPublic

Authored by gchatelet on Jun 6 2018, 7:27 AM.

Details

Summary

This is the first step to have the BenchmarkRunner create and measure many different configurations (different initial values for instance).

Diff Detail

Event Timeline

gchatelet created this revision.Jun 6 2018, 7:27 AM
courbet added inline comments.Jun 6 2018, 11:21 PM
tools/llvm-exegesis/lib/BenchmarkRunner.h
34

I don't think this should even be part of the configuration. This code can be the same for all instructions for a target.

gchatelet updated this revision to Diff 150271.Jun 7 2018, 1:10 AM

Removing BenchmarkSetup instructions as suggested.

gchatelet marked an inline comment as done.Jun 7 2018, 1:10 AM
courbet accepted this revision.Jun 7 2018, 1:13 AM
This revision is now accepted and ready to land.Jun 7 2018, 1:13 AM
This revision was automatically updated to reflect the committed changes.