Source

jitviewer / _jitviewer / app.py

Diff from to

File _jitviewer/app.py

                     op.count = getattr(subloop, 'count', '?')
                     if (hasattr(subloop, 'count') and
                         hasattr(orig_loop, 'count')):
-                        op.percentage = subloop.count / orig_loop.count
+                        op.percentage = int((float(subloop.count) / orig_loop.count)*100)
                     else:
                         op.percentage = '?'
         loop = FunctionHtml.from_operations(ops, self.storage,