The Sun Studio software includes an additional profiling tool called tcov, which generates exact counts of the number of times each statement in a program is executed. See the tcov(1) man page for more information about this tool.