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: 
Observer snowman777
Observer
1,080 Views
Registered: ‎03-05-2014

CPU and memory utilization metric monitoring?

Good morning everyone,

 

I was wondering if in vivado tools or anything that comes along with software has  metrics output that shows the CPU utilization and memory utilization live and/or behavior when running your application on the board ?  Any help on this owuld be much appreciate . thanks a lot. 

 

Board : Zynq702 

 

Jeremy

0 Kudos
7 Replies
Scholar jmcclusk
Scholar
1,071 Views
Registered: ‎02-24-2014

Re: CPU and memory utilization metric monitoring?

The standard linux tool  "top" will run on the Zynq (on a serial console).   This is a quick and dirty method of showing utilization statistics.   If you have a GUI desktop running on the card, then you can probably use the system monitor application to show similar numbers.

 

If you don't have linux, but are running your application in bare metal, then gprof profiling can show you the utilization.

Don't forget to close a thread when possible by accepting a post as a solution.
0 Kudos
Observer snowman777
Observer
1,054 Views
Registered: ‎03-05-2014

Re: CPU and memory utilization metric monitoring?

Sorry for the additional questions, I am a bit new at the console

 

how would this be implemented, when it is running the C++ application and sending information back on SDK,

 

where would i access the metrics ? you're saying connect via eithenet and linux kernel ? Do you know if there is any documentation for this , since this is new to me .

 

The system monitor , is this located in SDK or vivdado ? 

 

thanks a lot 

 

Jeremy 

0 Kudos
Scholar jmcclusk
Scholar
1,046 Views
Registered: ‎02-24-2014

Re: CPU and memory utilization metric monitoring?

your path depends on your environment.    Are you running Linux on the ZC702?   or bare metal?

Don't forget to close a thread when possible by accepting a post as a solution.
0 Kudos
Observer snowman777
Observer
1,044 Views
Registered: ‎03-05-2014

Re: CPU and memory utilization metric monitoring?

I am launching my C++ application through SDK to run on the board 

 

Jeremy

0 Kudos
Scholar jmcclusk
Scholar
1,022 Views
Registered: ‎02-24-2014

Re: CPU and memory utilization metric monitoring?

That's bare metal,  so your best bet is to use profiling to get usage statistics.

Don't forget to close a thread when possible by accepting a post as a solution.
0 Kudos
Observer snowman777
Observer
1,020 Views
Registered: ‎03-05-2014

Re: CPU and memory utilization metric monitoring?

Thanks a lot, 

 

again excuse my lack of knowledge, profiling would be what exactly ?  thanks a lot 

 

Jeremy 

0 Kudos
Scholar jmcclusk
Scholar
1,015 Views
Registered: ‎02-24-2014

Re: CPU and memory utilization metric monitoring?

Read this overview:  https://www.xilinx.com/support/documentation/sw_manuals/xilinx14_5/SDK_Doc/concepts/sdk_c_over_profile.htm

 

and then take a look at a tutorial showing how it's done:

 

https://forums.xilinx.com/t5/Xcell-Daily-Blog/Adam-Taylor-s-MicroZed-Chronicles-Part-64-Profiling-Zynq/ba-p/558003

Don't forget to close a thread when possible by accepting a post as a solution.
0 Kudos