Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Merge requests
  • !5191

i#5190: drcachesim child stats include all lower levels

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge iX-cache-stats-grandchild into master Nov 04, 2021
  • Overview 8
  • Commits 5
  • Pipelines 0
  • Changes 6

The child (==lower level) cache stats in drcachesim today are only for the immediately lower level. This is a holdover from the original implementation which didn't support other than 2 levels. For multiple levels, one would expect the child stats to include the sum of all the lower levels. We fix that here and add a unit test.

The difference is clear in the config file test: LLC stats: Child hits: 147 => LLC stats: Child hits: 174,695

But to avoid flakiness we do not update its regex and rely on the unit test.

Fixes #5190 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: iX-cache-stats-grandchild