Master the fundamental concepts of profiling & measurement through this focused micro-challenge.
Intel VTune and AMD uProf add source-line mapping, memory access analysis, and microarchitecture-specific metrics like frontend stalls and port utilization. Kernel teams use them when perf events are multiplexed too aggressively or when you need cache-line conflict detail that generic counters miss.
Build with debug symbols (-g). Run the profiler in hotspot or memory-access mode. Drill from function to source line to assembly. Compare before/after optimization runs saved as separate sessions.
bashLoading…
Keep the relevant documentation open while you implement. When your output disagrees with the reference, trace one failing case by hand before changing random lines.
You will document a profiling plan using VTune or uProf on a sample binary and interpret a provided summary table. This exercise requires mapping one hotspot function to a concrete optimization hypothesis.
Demonstrate usage of professional profiling tools.
Requirements:
Three hints are available for this task, revealed one at a time inside the code workspace so you can struggle productively before seeing them.
All starter code and reference implementations are available for your local setup.
View on Github