Forums - CPU/GPU time calibration on OpenCL Trace Capture

1 post / 0 new
CPU/GPU time calibration on OpenCL Trace Capture
wisechang1
Join Date: 21 Sep 20
Posts: 1
Posted: Sun, 2021-03-07 02:01

When I capture "Process - OpenCL - OpenCL Trace" using Trace Capture, I can see the execution timeline in the "Trace 1" window. However, when I download the captured data from Data Explorer, CPU time is based on program start time and GPU time is based on system time (ex. CPU Start: 1,163,372us, GPU Start: 1,615,110,417,174,153us). To draw a timeline directly with downloaded capture data, CPU time and GPU time should be based on the same time, how can I calibrate it?

 

It is possible to calculate the difference between the program start time and the system time on the GUI, but I wonder if there is a better way.

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.