discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Using gr-perf-monitorx Ubuntu 16.04


From: Richard Mcallister
Subject: [Discuss-gnuradio] Using gr-perf-monitorx Ubuntu 16.04
Date: Fri, 1 Jul 2016 10:29:13 -0400

Hey all,

I'm trying to find a way to measure CPU usage and other measurements in some operation or flowgraph (the actual processes don't matter) and compare it to the same operation done after using RFNoC to shift the operations to a USRP. It seems like gr-perf-monitorx would be perfect.

Unfortunately, every time I run the script, one of two ImportErrors occurs. The first involved PyQt4 and Qwt5 (fixed by installing from source). The next is this:

Traceback (most recent call last):
  File "/home/rich/Desktop/repos2/target/bin/gr-perf-monitorx", line 54, in <module>
    from gnuradio.ctrlport.GrDataPlotter import *
  File "/home/rich/Desktop/repos2/target/lib/python2.7/dist-packages/gnuradio/ctrlport/GrDataPlotter.py", line 26, in <module>
    from gnuradio.ctrlport.GNURadio import ControlPort
  File "/home/rich/Desktop/repos2/target/lib/python2.7/dist-packages/gnuradio/ctrlport/GNURadio/ControlPort.py", line 11, in <module>
    from .ttypes import *
  File "/home/rich/Desktop/repos2/target/lib/python2.7/dist-packages/gnuradio/ctrlport/GNURadio/ttypes.py", line 9, in <module>
    from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
ImportError: cannot import name TFrozenDict

I've installed thrift 0.9.3 (because 0.9.2 is required for gr-perf-monitorx) and then reinstallled GNURadio using pybombs (by updating apache-thrift) to check if that resolved anything; I've also uninstalled and reinstalled thrift using pip (which shows version 0.9.3). Running "gnuradio-config-info --enabled-components" I can see "* thrift" on the list, so I know that GNU Radio has found it. Nothing changed.

Finally, running python from my terminal, I can't find TFrozenDict within thrift by using dir(thrift.Thrift). Does GNU Radio use a custom thrift, or is there a better way to install and update?

Thanks,

Richard McAllister

PS-does gr-perf-monitorx support RFNoC blocks? Its not mentioned online, but then, RFNoC is pretty new.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]