How to get the elapsed time of each function in Amplifier?

How to get the elapsed time of each function in Amplifier?

I notice that the elapsed time of each function is not shown in the Bottom-up or Top-down Tree windows. I just can get the elapsed time of entire application on the summary panel. But I really want to know whether Amplifier does support this feature or not? If yes, how I can get these info?

5 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

Hi,

You can't use Bottom-up report to know total time of function (elapsed time) since that is only for self-time.

You can useTop-down treeto know "CPU Time:Total" forany function, even its self time is zero. It showed as percentage value, you get seconds by using: Elapsed time (from summary panel) * ??%

Regards, Peter

Hi Peter,

Thanks for your reply.

But CPU time of a function is not the real elapsed time of this function. For example, a function is divided to two threads to run tasks. I can get: CPU time of this function = CPU Time of Thread1 + CPU Time of Thread2. But this CPU time of this function is not the real elapsed time of this function. Right?

Kind Regards,
Paul

Hi Paul,

There is no EXACT elapsed time of the function. For example, functionA and function B may be overlapped in real time, running inmultiple threads (cores), so what I talked is total CPU time.

Summary panel has "elapsed time" - it is real execution time, parallelled from multi-cores.

Regards, Peter

Hi Peter,

OK, I got it.

I am appreciate your help.

Paul

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi