This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis] Output the unscaled value as well as the scaled one.
ClosedPublic

Authored by courbet on Sep 25 2018, 8:32 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

courbet created this revision.Sep 25 2018, 8:32 AM
courbet updated this revision to Diff 166924.Sep 25 2018, 8:34 AM

remve irrelevant file

courbet updated this revision to Diff 166925.Sep 25 2018, 8:34 AM

fix field order

gchatelet added inline comments.Sep 25 2018, 11:49 PM
tools/llvm-exegesis/lib/BenchmarkResult.h
43 ↗(On Diff #166925)

PerInstructionValue

45 ↗(On Diff #166925)

SnippetValue

tools/llvm-exegesis/lib/BenchmarkRunner.cpp
93 ↗(On Diff #166925)

Can you assert that InstrBenchmark.NumRepetitions!=0?

courbet updated this revision to Diff 167057.Sep 26 2018, 12:38 AM

better field names

courbet updated this revision to Diff 167061.Sep 26 2018, 12:41 AM
courbet marked 3 inline comments as done.

add assert

courbet accepted this revision.Sep 26 2018, 12:42 AM

Thanks, PTAL.

This revision is now accepted and ready to land.Sep 26 2018, 12:42 AM
gchatelet accepted this revision.Sep 26 2018, 12:55 AM
gchatelet added inline comments.
tools/llvm-exegesis/lib/BenchmarkResult.cpp
301 ↗(On Diff #167061)

As discussed let's rename the class something like BenchmarkMeasurePerInstructionsStats

courbet updated this revision to Diff 167065.Sep 26 2018, 12:59 AM
courbet marked an inline comment as done.

s/BenchmarkMeasureStats/PerInstructionStats/

This revision was automatically updated to reflect the committed changes.