stats.py (2002:7167e8c3ef31) stats.py (2005:5d2963051cc7)
1#!/usr/bin/env python
2
3# Copyright (c) 2003-2004 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 236 unchanged lines hidden (view full) ---

245 "%d" % numoutside2std, "%d" % len(pairRunTicks),
246 "%.7f" % (stdev/avg*100))
247 return
248
249 if command == 'all':
250 if len(args):
251 raise CommandException
252
1#!/usr/bin/env python
2
3# Copyright (c) 2003-2004 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 236 unchanged lines hidden (view full) ---

245 "%d" % numoutside2std, "%d" % len(pairRunTicks),
246 "%.7f" % (stdev/avg*100))
247 return
248
249 if command == 'all':
250 if len(args):
251 raise CommandException
252
253 all = [ 'bps', 'rxbps', 'txbps', 'bpt',
254 'misses', 'mpkb',
255 'ipkb',
256 'pps', 'bpp', 'txbpp', 'rxbpp',
257 'rtp', 'rtb' ]
253 all = [ 'bps', 'misses', 'mpkb', 'ipkb', 'pps', 'bpt' ]
258 for command in all:
259 commands(options, command, args)
260
261 if options.ticks:
262 if not options.graph:
263 print 'only displaying sample %s' % options.ticks
264 source.ticks = [ int(x) for x in options.ticks.split() ]
265

--- 252 unchanged lines hidden ---
254 for command in all:
255 commands(options, command, args)
256
257 if options.ticks:
258 if not options.graph:
259 print 'only displaying sample %s' % options.ticks
260 source.ticks = [ int(x) for x in options.ticks.split() ]
261

--- 252 unchanged lines hidden ---