Skip to content

Commit 26b39b8

Browse files
Removed check for hardcoded ETL process id. This was causing all frames to be dropped during IPM ETL testing
1 parent 68256a8 commit 26b39b8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

IntelPresentMon/Streamer/Streamer.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,7 @@ void Streamer::ProcessPresentEvent(
153153
gpu_telemetry_cap_bits,
154154
std::bitset<static_cast<size_t>(CpuTelemetryCapBits::cpu_telemetry_count)>
155155
cpu_telemetry_cap_bits) {
156-
uint32_t process_id;
157-
if (stream_mode_ == StreamMode::kOfflineEtl) {
158-
process_id = static_cast<uint32_t>(StreamPidOverride::kEtlPid);
159-
} else {
160-
process_id = present_event->ProcessId;
161-
}
156+
uint32_t process_id = present_event->ProcessId;
162157

163158
// Lock the nsm mutex as stop streaming calls can occur at any time
164159
// and destroy the named shared memory during writing of frame data.

0 commit comments

Comments
 (0)