summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgnuradio-core/src/examples/mp-sched/affinity_set.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/examples/mp-sched/affinity_set.py b/gnuradio-core/src/examples/mp-sched/affinity_set.py
index d73d4fc42..65e929051 100755
--- a/gnuradio-core/src/examples/mp-sched/affinity_set.py
+++ b/gnuradio-core/src/examples/mp-sched/affinity_set.py
@@ -60,11 +60,11 @@ if __name__ == '__main__':
tb.stop()
sys.exit(0)
elif(ret.lower() == "none"):
- tb.filter_filt_0.unset_processor_affinity()
+ tb.gr_filt_0.unset_processor_affinity()
else:
try:
n = int(ret)
except ValueError:
print "Invalid number"
else:
- tb.filter_filt_0.set_processor_affinity([n,])
+ tb.gr_filt_0.set_processor_affinity([n,])