ShellPkg/DynamicCommand/DpDynamicCommand: Fix displaying timer properties

The timer/counter start and end value were hardcoded instead of being
read from the performance protocol.

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Upstream-Status: Pending
This commit is contained in:
Michał Żygowski
2026-03-23 13:22:16 +01:00
parent f428941063
commit 8052881735
@@ -867,8 +867,8 @@ RunDp (
}
TimerInfo.Frequency = (UINT32)DivU64x32 (PerformanceProperty->Frequency, 1000);
TimerInfo.StartCount = 0;
TimerInfo.EndCount = 0xFFFF;
TimerInfo.StartCount = PerformanceProperty->TimerStartValue;
TimerInfo.EndCount = PerformanceProperty->TimerEndValue;
TimerInfo.CountUp = TRUE;
//