Skip to content
Snippets Groups Projects
Commit cde11f98 authored by amete's avatar amete
Browse files

PerfMonAna: Bug-fix in pmontree.py

parent 2a1a6d6b
No related branches found
No related tags found
No related merge requests found
...@@ -425,7 +425,8 @@ def main(): ...@@ -425,7 +425,8 @@ def main():
if opt.min is not None: if opt.min is not None:
# Use VMem or self-VMem for filtering # Use VMem or self-VMem for filtering
def vmem( c ): def vmem( c ):
c.dvmem_self if (opt.self is True and hasattr(c,'dvmem_self')) else c.dvmem result = c.dvmem_self if (opt.self is True and hasattr(c,'dvmem_self')) else c.dvmem
return result
for r in resTree: for r in resTree:
r.show(lambda c: vmem(c)>opt.min) r.show(lambda c: vmem(c)>opt.min)
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment