Hello,
After profiling (Instrumentation Profiling) my C++ code, i get an output with the following tabs: Summary, Functions, Caller/Callee, Call tree, Allocation and object lifetime. Under the Summary tab, the following is displayed,
Performance Report Summary
Most Called Functions
Name No of calls %
_cos 3055440 24.9
_sin 3055440 24.9
THUNK:cos 3055440 24.9
Functions with most individual work
Name Time(msec) %
_sin 315.402379 34.774
_cos 315.365335 34.770
.main() 267.905894 29.537
Here what all i have to take into account?. In my code, after using double instead of float, i get the above result. However if i change all double to float, i get a similar one but with a little more time(msec) spent in main() but the %'s for sin and cos reduced to approximately half!! (around 15% and 11%). So to which one should i give importance?