UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
6,989 Views
Registered: ‎12-30-2015

measuring the EXECUTION time of the software program !!!!

Jump to solution

Hello,

 

I am using Zedboard and Vivado 2015.4.

In XSDK, i want to measure the time taken by DMA to write or Read data from DDR.

 

I am using following function 

XAxiDma_SimpleTransfer(&dma,(u32)dma_buffer_Rx,dataSize,XAXIDMA_DEVICE_TO_DMA);

to send data to DDR.

 

I want to measure the time taken by this function to execute.

I have used SCU_GLOBAL_TIMER_COUNT_L32  it is giving some number but i don,t know that it is milisecond or microsecond time or something else.


I have also read the following thread:

https://forums.xilinx.com/t5/Embedded-Development-Tools/Execution-time-measurement/m-p/662929#M38320
But its not working for me:.

 

I have tried EDK Profiling.

But there are two problems i am facing.

Firslty i am unable to set profile_timer.

Secondly In SDK, I selected select Run > Run but did not find Enable Profiling there.

please guide how i can measure the time which some function(in my case DMA) takes to read or write data.
So that i can measure that what is speed per second of DMA.

I am waiting for your kind reply.

 

I will be very thankful to you.

 

Regards

Abbas

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Contributor
Contributor
11,713 Views
Registered: ‎12-30-2015

Re: measuring the EXECUTION time of the software program !!!!

Jump to solution

Hello sampatd,

 

Thanks for your reply. 

I have done TCF profiler. But i don,t know what it is showing.can you explain what is meaning of %Exclusive and %inclusive? How it is showing the execution time for a function?

 

Waiting for your reply.

statistics.JPG
0 Kudos
3 Replies
Scholar sampatd
Scholar
6,828 Views
Registered: ‎09-05-2011

Re: measuring the EXECUTION time of the software program !!!!

Jump to solution
Highlighted
Contributor
Contributor
11,714 Views
Registered: ‎12-30-2015

Re: measuring the EXECUTION time of the software program !!!!

Jump to solution

Hello sampatd,

 

Thanks for your reply. 

I have done TCF profiler. But i don,t know what it is showing.can you explain what is meaning of %Exclusive and %inclusive? How it is showing the execution time for a function?

 

Waiting for your reply.

statistics.JPG
0 Kudos
Scholar sampatd
Scholar
6,565 Views
Registered: ‎09-05-2011

Re: measuring the EXECUTION time of the software program !!!!

Jump to solution
% Exclusive would be the percentage of samples encountered by the profiler for that function only (doesn’t take into consideration samples of child functions). This can also be seen as exclusive percentage for that particular function. This parameter can be of help in identifying performance bottlenecks.
% Inclusive is the percentage of samples of a function, including samples collected during execution of child functions.
0 Kudos