# Next Steps

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/profiling-ml-on-arm/)
- [Why should you profile your ML application?](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/profiling-ml-on-arm/why-profile/)
- [Profile your application with Streamline](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/profiling-ml-on-arm/app-profiling-streamline/)
- [Memory Profiling with Android Studio](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/profiling-ml-on-arm/app-profiling-android-studio/)
- [Profiling the Neural Network](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/profiling-ml-on-arm/nn-profiling-general/)
- [ML Profiling of a LiteRT model with ExecuteNetwork](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/profiling-ml-on-arm/nn-profiling-executenetwork/)
- [ML Profiling of an ExecuTorch model](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/profiling-ml-on-arm/nn-profiling-executorch/)
- [Next Steps](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/profiling-ml-on-arm/_next-steps/)

## Explore related resources
Find more information about the topics in this Learning Path:
- [Arm Streamline User Guide](https://developer.arm.com/documentation/101816/latest/)

## 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.

### How do I know Android Studio is profiling the correct app process?
Open the **Profiler** window, attach your device in **Developer Mode** with a USB cable, and select your app’s process.

### What timeline scale should I use to see the example app's annotations?
Set the Streamline timeline view scale to 10 µs. The example app’s inference is fast, so this scale makes its Custom Activity Map annotations easier to see.

### Why does the ExecuteNetwork command run the model twice?
Running the ExecuteNetwork command runs the model twice because of the `--iterations 2` flag. The first run includes startup costs and one-off optimizations, so a second run is useful as the more representative performance measurement. The command writes layer timings to `modelout.txt`.

### How do I check whether inference is the main bottleneck?
Use Streamline annotations to mark inference, preprocessing, and postprocessing in the timeline. You can then see where your app spends time and how busy the CPU or GPU is during each part. For LiteRT with Arm NN, use `ExecuteNetwork` for layer timings. Without Arm NN, treat `ExecuteNetwork` results as indicative rather than definitive.

### Can I profile a PyTorch model with ExecuTorch on Android?
Yes. ExecuTorch provides profiling tools for PyTorch models. The tools target Linux, but you can adapt the Linux instructions for Android by generating the ETDump file on your Android device and analyzing it with an ExecuTorch Inspector.
