feat(timeline): owner pid and retire time per GPU job

Each timeline entry records the submitting process and when the driver saw the job retired, so a frame's wait for the ring and for completion can be split.
This commit is contained in:
rpone
2026-10-31 19:43:24 +08:00
committed by Sharky Wang
Unverified
parent 36c4e44749
commit 88b83dd0ef
3 changed files with 14 additions and 4 deletions
+1
View File
@@ -400,6 +400,7 @@ IOReturn NativeAdrenoUserClient::submit(const NativeAdrenoAbiSubmit *request,
uint32_t fence=0;
used_=true;
ring_->useContext(context_);
submit_->nextOwner(proc_selfpid());
const IOReturn status=submit_->submit(vm_,buffers,request->buffer_count,
queue_base_+request->queue,&fence,clock);
if(status)return status;