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
  • !2853

i#2843 trace cpus: simulate according to traced cpu mappings

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i2843-sim-schedule into master Feb 26, 2018
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 17

Changes the default thread scheduling on simulated cores to match the new recorded cpu mappings. The cpu's are assigned to cores in a round-robin fashion, and each thread region is assigned to the core that owns the cpu in the thread region's header markers.

Adds a new option -static_scheduling which requests the old method, where the cpu markers are ignored and threads are statically assigned to cores.

To keep tests deterministic, they are run with -static_scheduling by default. The tests with many threads which need to match any core mapping anyway override that to test the cpu scheduling.

Updates the documentation for the new CPU-scheduling default.

Fixes #2843 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i2843-sim-schedule