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
  • Issues
  • #2842
Closed
Open
Issue created Feb 21, 2018 by Administrator@rootContributor

Use VDSO for dr_get_microseconds

Created by: Carrotman42

Today, (on unix) dr_get_microseconds executes a gettimeofday syscall directly. To avoid overhead during this call for clients which need the timestamp very often (e.g. drcachesim offline trace support) we should arrange for accessing this information via the VDSO for unix, or KUSER_SHARED_DATA for windows.

xref comment in drcachesim's offline trace support: https://github.com/DynamoRIO/dynamorio/blob/dc7e314b9957d46208f5b5aa5fe85b5000ae7d02/clients/drcachesim/tracer/instru_offline.cpp#L283

Assignee
Assign to
Time tracking