# Next Steps

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/servers-and-cloud-computing/cpu_hotspot_performix/)
- [Understand flame graphs and profiling tools](https://learn.arm.com/learning-paths/servers-and-cloud-computing/cpu_hotspot_performix/how-to-1/)
- [Build the example application](https://learn.arm.com/learning-paths/servers-and-cloud-computing/cpu_hotspot_performix/how-to-2/)
- [Profile baseline performance](https://learn.arm.com/learning-paths/servers-and-cloud-computing/cpu_hotspot_performix/how-to-3/)
- [Optimize application performance](https://learn.arm.com/learning-paths/servers-and-cloud-computing/cpu_hotspot_performix/how-to-4/)
- [Next Steps](https://learn.arm.com/learning-paths/servers-and-cloud-computing/cpu_hotspot_performix/_next-steps/)

## Explore related resources
Find more information about the topics in this Learning Path:
- [Optimize application performance using Arm Performix CPU microarchitecture analysis](https://learn.arm.com/learning-paths/servers-and-cloud-computing/performix-microarchitecture/)
- [Arm Performix User Guide](https://developer.arm.com/documentation/110163/latest)
- [Flame Graphs](https://www.brendangregg.com/flamegraphs.html)

## Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

### What result should I expect after running the Code Hotspots recipe?
Expect a flame graph that highlights the hottest functions in the run. The Mandelbrot example typically surfaces `Mandelbrot::getIterations` and its `__hypot` call path in the stack if they dominate CPU time.

### Where is the output bitmap written when running under Arm Performix?
The code writes to the relative path `./images/green.bmp`. Confirm the working directory used by Arm Performix so the image appears where you expect, or adjust the path in the code.

### Which source file shows the baseline program flow I should compare against?
Open `src/main_single_thread.cpp`. It drives the Mandelbrot computation that generates the 1920×1080 bitmap used for profiling.

### How do I read the flame graph to decide what to change first?
Wider frames represent more sampled CPU time. Start with the widest frames near the top of the stack and trace down the call path to find the exact functions to modify.

### How do I validate that my changes improved the hot path?
Rebuild the program and run the Code Hotspots recipe again. Compare the new flame graph to the baseline; a reduction in the previous hotspot’s width indicates the change had an effect.
