mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Revert "Fix magic value used to skip odd packets for timestamps"
This reverts commit 7968823b3c.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
02f075c541
commit
3c1ee0aaa5
@@ -51,8 +51,6 @@ NEO::GraphicsAllocation &EventImp<TagSizeT>::getAllocation(Device *device) {
|
||||
|
||||
template <typename TagSizeT>
|
||||
ze_result_t EventImp<TagSizeT>::calculateProfilingData() {
|
||||
constexpr uint32_t skipL3EventPacketIndex = 2u;
|
||||
|
||||
globalStartTS = kernelEventCompletionData[0].getGlobalStartValue(0);
|
||||
globalEndTS = kernelEventCompletionData[0].getGlobalEndValue(0);
|
||||
contextStartTS = kernelEventCompletionData[0].getContextStartValue(0);
|
||||
@@ -60,7 +58,7 @@ ze_result_t EventImp<TagSizeT>::calculateProfilingData() {
|
||||
|
||||
for (uint32_t i = 0; i < kernelCount; i++) {
|
||||
for (auto packetId = 0u; packetId < kernelEventCompletionData[i].getPacketsUsed(); packetId++) {
|
||||
if (this->l3FlushWaApplied && ((packetId % skipL3EventPacketIndex) != 0)) {
|
||||
if (this->l3FlushWaApplied && ((packetId % 2) != 0)) {
|
||||
continue;
|
||||
}
|
||||
if (globalStartTS > kernelEventCompletionData[i].getGlobalStartValue(packetId)) {
|
||||
|
||||
Reference in New Issue
Block a user