Skip to content

Draft: anv: improve accuracy of intel_measure ends

Improve accuracy and precision of INTEL_MEASURE by enabling the following features:

  • End event duration immediately after event finishes. Don't wait until next event begins to take timestamp.
  • Use COMPUTE_WALKER::POSTSYNC operation on Xe+ to correctly measure dispatches. Prior implementation was greatly under-reporting duration of compute work.
  • Allow negative values to be displayed as negative instead of very large UINTS.

Marked as draft due to strange behavior on release driver (debug works fine). Writing timestamps to wrong memory location. Also, last timestamp of each command buffer never written.

Edited by Felix Degrood

Merge request reports

Loading