Currently i am working with Vtune. I am trying to calculate CPU% utilization give the "CPU seconds used" and the elapsed time.
Is this write : CPU% = cpu time(secs) / elapsed time. ?
e.g. in 2 core machine
cpu sec =5.6 , elapsed time = 8.4
cpu% = 5.6 / 8.4 .
Also how to map cpu time and utilization in multicore environment.