Skip to content

tracelog vs. xperf #1

@mikedn

Description

@mikedn

The xperf that ships with the current Windows SDK doesn't seem to have the -pmcprofile option so it's not possible to use it to configure the profile source. Options:

  • Remove the option. It looks like InstructionsRetired is the default in my experiments
  • Replace xperf with tracelog:
tracelog -start pmc_counters -eflag PROC_THREAD+LOADER+PMC_PROFILE+PROFILE -ProfileSource InstructionRetired -f pmc.etl

That said, it's not clear to me how useful this PMC_PROFILE thing is. As far as I can tell this alone can't give accurate numbers due to thread switching. Or perhaps I'm missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions