Profiler

Main purpose of this tab is to find hot code spots, dead code and analyse code & test coverage as well as analyse timing for the running computer and CPU.

To reach the Profiler tab, first select the 'Tools' tab and then the 'Profiler' sub tab. Note that the profiler only runs and shows active data when an emulator is running.

Before starting an emulator the profiler can be switched off with the 'Counters On/Off' selector. During run time the 'Counters Clear' button will reset all counters to 0.

Timing

The top part (yellow ellipse) shows the following timing details:

Profiler

The bottom left part (orange ellipse) shows the profiler which can be used for the following:

Memory Dump

On the profiler tab only a small number of locations are shown at anyone time, to be able to scan through memory quicker the profiler on the Memory Dump tab can be used:

To select the memory dump profiler, first select the Memory Dump tab and then as 'Memory' select 'Profiler' (yellow ellipse). Then 256 addresses will be shown (red ellipse) each containing one counter value between 1 and 255 in the same colour as used on the profiler tab with 'redder' colour instructions being executed more frequently. The shown counter uses the same logarithmic scale as the colour definition. Formula used is 5*ln(number of executions).

To change to the previous or next page use the buttons in the orange ellipse, alternatively specify a specific address in the field in the blue ellipse.

For additional details about the Memory Dump tab see also the Memory Dump chapter.

Additional Information

Additional Information can be found in the following sub-chapters:

Navigation
Data View
Linear & Logarithmic Counters
Hot Code Spots
Dead Code Spots
Code Coverage
Interval Timer