summaryrefslogtreecommitdiff
path: root/volk/gen/make_machines_h.py
diff options
context:
space:
mode:
authorNick Foster2011-05-11 21:45:03 -0700
committerNick Foster2011-05-11 21:45:03 -0700
commitb50dbc4498842fecd7f0c6adc22f25726f8d27d3 (patch)
treef47590beea8d78ba9b9c16baa5fcff8ab5fc1eae /volk/gen/make_machines_h.py
parente3997ada93a25569a05bbfd615d73d00cee6eca5 (diff)
downloadgnuradio-b50dbc4498842fecd7f0c6adc22f25726f8d27d3.tar.gz
gnuradio-b50dbc4498842fecd7f0c6adc22f25726f8d27d3.tar.bz2
gnuradio-b50dbc4498842fecd7f0c6adc22f25726f8d27d3.zip
Volk: Profiler is in apps/ now. Added name to function info. Going to C++-ify the whole thing.
Diffstat (limited to 'volk/gen/make_machines_h.py')
-rw-r--r--volk/gen/make_machines_h.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/volk/gen/make_machines_h.py b/volk/gen/make_machines_h.py
index 09ada3e0d..563de18a6 100644
--- a/volk/gen/make_machines_h.py
+++ b/volk/gen/make_machines_h.py
@@ -35,6 +35,7 @@ struct volk_machine {
const char *name;
"""
for function in functions:
+ tempstring += " const char *%s_name;\n"%function
tempstring += " const char *%s_indices[%d];\n"%(function, len(archs))
tempstring += " const int %s_arch_defs[%d];\n"%(function, len(archs))
tempstring += " const %s %s_archs[%d];\n"%(replace_volk.sub("p", function), function, len(archs))