This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis] move Mode from Key to BenchmarResult.
ClosedPublic

Authored by gchatelet on Jun 6 2018, 2:07 AM.

Details

Summary

Moves the Mode field out of the Key. The existing yaml benchmark results can be fixed with the following script:

shell
#!/bin/bash
readonly FILE=$1
readonly MODE=latency # Change to uops to fix a uops benchmark.
cat $FILE | \
  sed "/^\ \+mode:\ \+$MODE$/d" | \
  sed "/^cpu_name.*$/i mode:            $MODE"

Diff Detail

Repository
rL LLVM

Event Timeline

gchatelet created this revision.Jun 6 2018, 2:07 AM
courbet accepted this revision.Jun 6 2018, 2:17 AM
This revision is now accepted and ready to land.Jun 6 2018, 2:17 AM
This revision was automatically updated to reflect the committed changes.