refactor: Add GDI profiling

Resolves: NEO-9236
Related-To: NEO-10036

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-02-07 16:19:02 +00:00
committed by Compute-Runtime-Automation
parent ce17580b28
commit 486cc71b76
15 changed files with 193 additions and 175 deletions

View File

@@ -234,7 +234,7 @@ TEST_F(DrmSimpleTests, givenPrintIoctlTimesWhenCallIoctlThenStatisticsAreGathere
auto drm = DrmWrap::createDrm(*(mockExecutionEnvironment.rootDeviceEnvironments[0].get()));
DebugManagerStateRestore restorer;
debugManager.flags.PrintIoctlTimes.set(true);
debugManager.flags.PrintKmdTimes.set(true);
VariableBackup<decltype(forceExtraIoctlDuration)> backupForceExtraIoctlDuration(&forceExtraIoctlDuration, true);
EXPECT_TRUE(drm->ioctlStatistics.empty());