Skip to content

Conversation

planetchili
Copy link
Collaborator

Unit tests that used the paced ETL playback to do integration testing including service and middleware (dynamic metrics).

@planetchili planetchili self-assigned this Aug 19, 2025
Copy link
Collaborator

@markgalvan-intel markgalvan-intel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks great, just the two questions.

@@ -21,7 +21,8 @@ namespace pmon::ipc::intro
template<> struct IntrospectionCapsLookup<PM_METRIC_GPU_RENDER_COMPUTE_UTILIZATION> { static constexpr auto gpuCapBit = GpuTelemetryCapBits::gpu_render_compute_utilization; };
template<> struct IntrospectionCapsLookup<PM_METRIC_GPU_MEDIA_UTILIZATION> { static constexpr auto gpuCapBit = GpuTelemetryCapBits::gpu_media_utilization; };
template<> struct IntrospectionCapsLookup<PM_METRIC_GPU_MEM_POWER> { static constexpr auto gpuCapBit = GpuTelemetryCapBits::vram_power; };
template<> struct IntrospectionCapsLookup<PM_METRIC_GPU_MEM_VOLTAGE> { static constexpr auto gpuCapBit = GpuTelemetryCapBits::vram_voltage; };
template<> struct IntrospectionCapsLookup<PM_METRIC_GPU_MEM_TEMPERATURE> { static constexpr auto gpuCapBit = GpuTelemetryCapBits::vram_power; };
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these two accidentally swapped? PM_METRIC_GPU_MEM_TEMPERATURE to vram_power and PM_METRIC_GPU_MEM_VOLTAGE to vram_temperature?

const auto recordingStop = 22s;

const auto pipeName = R"(\\.\pipe\pm-poll-test-act)"s;
const auto etlName = "hea-win.etl"s;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the hea-win.etl to be checked-in to the repo or will it be a file that lives locally on a test machine?

Copy link
Collaborator

@markgalvan-intel markgalvan-intel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@markgalvan-intel markgalvan-intel merged commit dea78d3 into main Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants