How to profile total cycles of a loop correctly

Started by August 17, 2005

I start to profile a loop in my code. I am using XDS510PP emulator.

If I follow this sequence : load the program, activate the profile, and run. The total cycles collected in the profile view is quite small.

If I sequently press Debug-restart, and run again. The total cycles in the profile view is quite large. Why? Which way in profiling is correct.