Investigate timestamps generated on Android via gapit profile
During gapit profile we request command-buffer timestamps. Since capturing these timestamps can be challenging on tile-based architectures, we need to assess their validity on Android.
Numbers from de.saschawillems.vulkanBloom:
Pixel3:
BeginCmd EndCmd Time(ns) 4.0.0.0 4.0.0.13 561770 5.0.0.0 5.0.0.27 5380937 11.0.0.0 11.0.0.13 556979 12.0.0.0 12.0.0.27 5468281 18.0.0.0 18.0.0.13 536875 19.0.0.0 19.0.0.27 5460052 25.0.0.0 25.0.0.13 548177 26.0.0.0 26.0.0.27 5480052 32.0.0.0 32.0.0.13 546197 33.0.0.0 33.0.0.27 5408958 39.0.0.0 39.0.0.13 557447 40.0.0.0 40.0.0.27 5523645 46.0.0.0 46.0.0.13 546250 47.0.0.0 47.0.0.27 5566093 53.0.0.0 53.0.0.13 674270 54.0.0.0 54.0.0.27 5474427 60.0.0.0 60.0.0.13 567760 61.0.0.0 61.0.0.27 5517395 67.0.0.0 67.0.0.13 552083 68.0.0.0 68.0.0.27 5464218
S9 (Eur): BeginCmd EndCmd Time(ns) 272.0.0.0 272.0.0.2 349038 311.0.0.0 311.0.0.1 392192 345.0.0.0 345.0.0.1 376461 379.0.0.0 379.0.0.1 120807 404.0.0.0 404.0.0.2 1283615 582.0.0.0 582.0.0.13 21110770 583.0.0.0 583.0.0.18 5480192 587.0.0.0 587.0.0.13 1760769 588.0.0.0 588.0.0.18 5349692 740.0.0.0 740.0.0.13 2112077 741.0.0.0 741.0.0.27 5446731 747.0.0.0 747.0.0.13 1805115 748.0.0.0 748.0.0.27 5493923 754.0.0.0 754.0.0.13 2277384 755.0.0.0 755.0.0.27 5591615 761.0.0.0 761.0.0.13 1677923 762.0.0.0 762.0.0.27 15446424 768.0.0.0 768.0.0.13 2600000 769.0.0.0 769.0.0.27 5989577 775.0.0.0 775.0.0.13 2283115 776.0.0.0 776.0.0.27 5431038 782.0.0.0 782.0.0.13 2082807 783.0.0.0 783.0.0.27 5590615 789.0.0.0 789.0.0.13 2511884 790.0.0.0 790.0.0.27 5554885
Those numbers look pretty crazy to me, but can someone with greater context offer their opinion?
Thanks for this, was the S9 capture a MEC? (I'm surprised to see the command indexes being much higher that the indives for the Pix3)
Neither are MEC. I can't explain the indices, sorry!
The Sascha willems samples update their UI every few frames. But not every frame. So depending on which Grange your are grabbing the indices may be different
What command line did you use? I ask because I want to repeat what you have done. I don't know how to use gapit profile .