Skip to content

fix: round KPI metrics to 2 decimal places in consolidate_multiple_run_of_metrics.py#210

Open
abhijitsinha17 wants to merge 1 commit intointel-retail:mainfrom
abhijitsinha17:fix/round-metrics-to-2-decimal-places
Open

fix: round KPI metrics to 2 decimal places in consolidate_multiple_run_of_metrics.py#210
abhijitsinha17 wants to merge 1 commit intointel-retail:mainfrom
abhijitsinha17:fix/round-metrics-to-2-decimal-places

Conversation

@abhijitsinha17
Copy link
Copy Markdown

Summary

Round the following KPI metrics to 2 decimal places for cleaner CSV output in benchmark-scripts/consolidate_multiple_run_of_metrics.py:

Metric Extractor Class
CPU Utilization % CPUUsageExtractor
Memory Utilization % MemUsageExtractor
Disk Read MB/s DiskBandwidthExtractor
Disk Write MB/s DiskBandwidthExtractor
S0 Memory Bandwidth Usage MB/s MemBandwidthExtractor, PCMExtractor
S0 Power Draw W PowerUsageExtractor, PCMExtractor
Camera FPS PIPELINEFPSExtractor, FPSExtractor

Changes

Applied round(..., 2) to all mean() return values for the above metrics across all extractor classes.

Testing

Verified output in benchmark/metrics.csv after running make consolidate-metrics.

…n_of_metrics.py

Round the following metrics to 2 decimal places for cleaner CSV output:
- CPU Utilization %
- Memory Utilization %
- Disk Read MB/s and Disk Write MB/s
- S0 Memory Bandwidth Usage MB/s (MemBandwidthExtractor and PCMExtractor)
- S0 Power Draw W (PowerUsageExtractor and PCMExtractor)
- Camera FPS (PIPELINEFPSExtractor and FPSExtractor)
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.

1 participant