- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Peter,
OK, I got it.
I am appreciate your help.
Paul
OK, I got it.
I am appreciate your help.
Paul

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page