aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/timer.py
diff options
context:
space:
mode:
authorAymeric Augustin2013-10-26 17:44:41 +0200
committerAymeric Augustin2013-10-26 17:44:41 +0200
commitcd1864026c62163c05fe5e22d964884d7b28afaa (patch)
tree3aef3a4030dd68f1b9c55e800c0344fcd36ef8d9 /debug_toolbar/panels/timer.py
parentba9f739620d4955aabf112850122345828402f2b (diff)
downloaddjango-debug-toolbar-cd1864026c62163c05fe5e22d964884d7b28afaa.tar.bz2
Eliminate almost all flake8 messages.
Diffstat (limited to 'debug_toolbar/panels/timer.py')
-rw-r--r--debug_toolbar/panels/timer.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/debug_toolbar/panels/timer.py b/debug_toolbar/panels/timer.py
index 9b420cb..379f6ae 100644
--- a/debug_toolbar/panels/timer.py
+++ b/debug_toolbar/panels/timer.py
@@ -89,10 +89,6 @@ class TimerDebugPanel(DebugPanel):
(_('Total CPU time'), _('%(total)0.3f msec') % stats),
(_('Elapsed time'), _('%(total_time)0.3f msec') % stats),
(_('Context switches'), _('%(vcsw)d voluntary, %(ivcsw)d involuntary') % stats),
-# ('Memory use', '%d max RSS, %d shared, %d unshared' % (stats['rss'], stats.['srss'],
-# stats['urss'] + stats['usrss'])),
-# ('Page faults', '%d no i/o, %d requiring i/o' % (stats['minflt'], stats['majflt'])),
-# ('Disk operations', '%d in, %d out, %d swapout' % (stats['blkin'], stats['blkout'], stats['swap'])),
)
context = self.context.copy()
context.update({'rows': rows})