Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
B
benchmark
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • benchmark
  • Repository

Switch branch/tag
  • benchmark
  • cmake
  • Modules
  • FindPFM.cmake
Find file
BlameHistoryPermalink
  • Mircea Trofin's avatar
    Support optional, user-directed collection of performance counters (#1114) · 376ebc26
    Mircea Trofin authored Apr 28, 2021
    * Support optional, user-directed collection of performance counters
    
    The patch allows an engineer wishing to drill into the root causes
    of a regression, for example. Currently, only single threaded runs
    are supported. The feature is a build-time opt in, and then a runtime
    opt in.
    
    The engineer may run the benchmark executable, passing a list of
    performance counter names (using libpfm's naming scheme) at the
    command line. The counter values will then be collected and reported
    back as UserCounters.
    
    This is different from #240 in that it is a benchmark user opt-in, and
    the counter collection is transparent to the benchmark.
    
    Currently, this is only supported on platforms where libpfm is
    supported.
    
    libpfm: http://perfmon2.sourceforge.net/
    
    * 'Use' values param in Snapshot when BENCHMARK_OS_WINDOWS
    
    This is to avoid unused parameter warning-as-error
    
    * Added missing include for <vector> in perf_counters.cc
    
    * Moved doc to docs
    
    * Added license blurbs
    376ebc26
FindPFM.cmake 793 Bytes
EditWeb IDE
×

Replace FindPFM.cmake

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.