During sampling, a sample (instruction address) is collected periodically based on the Sample After value for each event. This occurs until the specified duration is complete. At the end of the duration, the Activity results are displayed. When you view the sampling results in the Table format from the graphical interface, the dynamic columns listed below appear for each event.
This column displays the total number of samples collected for each event.
Event data in samples are provided by default in all sampling views.
This column contains the percentage of samples collected for the event. This value is calculated using the following formula:
Number of
samples collected for the event
------------------------------------------------------x100
Total number of samples collected for the event
This column contains the number of times the event occurred during sampling data collection.
The sampling collector determines this value by applying the following
formula for each event,
<Event name> samples * Sample After value.
Example:
Sample After Value = 1000
Samples = 300
Events = 300 X 1000 = 300,000
In order to analyze the results, you must understand the values presented in these three columns.
The total event count calculated using this formula provides an estimate of the total number of times an event occurred. The values displayed may not be as accurate as the values displayed by tools that count every event that occurred for a specified duration.