[PATCH] D81050: [llvm-exegesis] Let Counter returns up to 16 entries.

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 20:18:11 PDT 2020


oontvoo created this revision.
Herald added subscribers: llvm-commits, mstojanovic, courbet.
Herald added a project: LLVM.

LBR contains (up to) 16 entries for last x branches and the X86LBRCounter (from D77422 <https://reviews.llvm.org/D77422>) should be able to return all those.
Currently, it just returns the latest entry, which could lead to mis-leading measurements.
This patch aslo changes the LatencyBenchmarkRunner to accommodate multi-value readings.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81050

Files:
  llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
  llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
  llvm/tools/llvm-exegesis/lib/LatencyBenchmarkRunner.cpp
  llvm/tools/llvm-exegesis/lib/PerfHelper.cpp
  llvm/tools/llvm-exegesis/lib/PerfHelper.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81050.268044.patch
Type: text/x-patch
Size: 6167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200603/a34913c6/attachment.bin>


More information about the llvm-commits mailing list