On 11/06/2015 03:54 PM, haroldmk wrote: > Hello all, > > I am working with GNU Radio on a Zedboard (which is a Xilinx Zynq-7000 based > device). The linux dist. used is the one from this page: > http://gnuradio.org/data/sdk/zedboard_armv7a-sf-vfp-neon/ > > I have described some functions on the FPGA of the Zynq and I am able to > send and receive data from a gnuradio .py , and everthing seems to be > working ok. > > I would like to measure how the use of the FPGA impacts the CPU performance, > I am thinking on measuring the % of CPU usage of a GNU Radio block that > performs all the calculations only in the ARM processor and the same > function but co-processing some data in the FPGA. > > The problems that I have in doing that measure is that the Linux dist. used > has no graphical interface and only one command line, so, I am not able to > run the .py file on one termianl and other programm on other terminal like > TOP for CPU usage measurement. > > I tried with a bash script but when I execute the .py file it "blocks" > everthing. I have to manually press enter or stop the process, depending on > run option I chose initially in the flow graph options, "Generate Options: > No GUI" and "Run Options: Prompt to exit" or "Run to completion".
Use ssh to login via the network. perf and friends can be really handy for understanding what the processor is doing. https://www.youtube.com/watch?v=kWnx6eOGVYo Philip > > Any ideas on how to handle this?. > Thanks in advance. > > > > -- > View this message in context: > http://gnuradio.4.n7.nabble.com/Estimate-CPU-usage-tp56794.html > Sent from the GnuRadio mailing list archive at Nabble.com. > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio