mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Update latest flushed task count in CSR with AUB dump
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d2a4af9d9d
commit
60677e2f9a
@@ -214,6 +214,9 @@ class CommandStreamReceiver {
|
||||
void setLatestSentTaskCount(uint32_t latestSentTaskCount) {
|
||||
this->latestSentTaskCount = latestSentTaskCount;
|
||||
}
|
||||
void setLatestFlushedTaskCount(uint32_t latestFlushedTaskCount) {
|
||||
this->latestFlushedTaskCount = latestFlushedTaskCount;
|
||||
}
|
||||
|
||||
virtual uint32_t blitBuffer(const BlitPropertiesContainer &blitPropertiesContainer, bool blocking, bool profilingEnabled, Device &device) = 0;
|
||||
|
||||
|
||||
@@ -36,7 +36,9 @@ bool CommandStreamReceiverWithAUBDump<BaseCSR>::flush(BatchBuffer &batchBuffer,
|
||||
if (aubCSR) {
|
||||
aubCSR->flush(batchBuffer, allocationsForResidency);
|
||||
aubCSR->setLatestSentTaskCount(BaseCSR::peekLatestSentTaskCount());
|
||||
aubCSR->setLatestFlushedTaskCount(BaseCSR::peekLatestSentTaskCount());
|
||||
}
|
||||
|
||||
return BaseCSR::flush(batchBuffer, allocationsForResidency);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user