• Home
  • Raw
  • Download

Lines Matching +full:queue +full:- +full:tick

5 #  (C) Copyright 2009 Hewlett-Packard Development Company, L.P.
19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 AQD - Average Queue Depth Running average of queue depths
28 BNOS - Block numbers accessed Markers for each block
30 Q2D - Queue to Issue latencies Running averages
31 D2C - Issue to Complete latencies Running averages
32 Q2C - Queue to Complete latencies Running averages
35 btt_plot_aqd.py equivalent to: btt_plot.py -t aqd <type>=aqd
36 btt_plot_bnos.py equivalent to: btt_plot.py -t bnos <type>=bnos
37 btt_plot_q2d.py equivalent to: btt_plot.py -t q2d <type>=q2d
38 btt_plot_d2c.py equivalent to: btt_plot.py -t d2c <type>=d2c
39 btt_plot_q2c.py equivalent to: btt_plot.py -t q2c <type>=q2c
42 [ -A | --generate-all ] Default: False
43 [ -L | --no-legend ] Default: Legend table produced
44 [ -o <file> | --output=<file> ] Default: <type>.png
45 [ -T <string> | --title=<string> ] Default: Based upon <type>
46 [ -v | --verbose ] Default: False
47 <data-files...>
49 The -A (--generate-all) argument is different: when this is specified,
54 each type. The -L (--no-legend) option will be obeyed for all plots,
55 but the -o (--output) and -T (--title) options will be ignored.
60 #------------------------------------------------------------------------------
81 #------------------------------------------------------------------------------
88 #------------------------------------------------------------------------------
94 t.set_fontsize('xx-small')
96 #----------------------------------------------------------------------
101 'min_x', 'max_x' - Minimum and maximum X values found
102 'min_y', 'max_y' - Minimum and maximum Y values found
103 'x', 'y' - X & Y value arrays
104 'ax', 'ay' - Running average over X & Y --
107 #--------------------------------------------------------------
116 #--------------------------------------------------------------
120 #------------------------------------------------------
129 #------------------------------------------------------
138 x_range = (xs[-1] - xs[0]) / 100
140 if (xs[idx] - _xs[0]) > x_range:
157 #--------------------------------------------------------------
191 #----------------------------------------------------------------------
195 Returns list of (data) files that need to be processed -- /unless/
196 the -A (--generate-all) option is passed, in which case superfluous
212 l_opts = [ 'generate-all', 'type', 'no-legend', 'output', 'title',
222 if o in ('-A', '--generate-all'):
224 elif o in ('-L', '--no-legend'):
226 elif o in ('-o', '--output'):
228 elif o in ('-t', '--type'):
232 elif o in ('-T', '--title'):
234 elif o in ('-v', '--verbose'):
238 fatal('Need type of data files to process - (-t <type>)')
242 #------------------------------------------------------------------------------
249 title_str = 'Average Queue Depth'
253 title_str = 'Queue (Q) To Issue (D) Average Latencies'
257 title_str = 'Queue (Q) To Complete (C) Average Latencies'
262 #------------------------------------------------------------------------------
266 #----------------------------------------------------------------------
278 #----------------------------------------------------------------------
279 xdelta = 0.1 * (db['max_x'] - db['min_x'])
280 ydelta = 0.1 * (db['max_y'] - db['min_y'])
282 ax.set_xlim(db['min_x'] - xdelta, db['max_x'] + xdelta)
283 ax.set_ylim(db['min_y'] - ydelta, db['max_y'] + ydelta)
288 #------------------------------------------------------------------------------
292 #----------------------------------------------------------------------
297 l_styles = [ '-', ':', '--', '-.' ]
308 #----------------------------------------------------------------------
355 #------------------------------------------------------------------------------
357 """Returns the list of files for the -A option based upon type"""
371 #------------------------------------------------------------------------------
379 #------------------------------------------------------------------------------
383 #----------------------------------------------------------------------
394 #----------------------------------------------------------------------
399 return -1
405 #----------------------------------------------------------------------
407 for tick in ax.xaxis.get_major_ticks():
408 tick.tick1On = tick.tick2On = False
409 for tick in ax.yaxis.get_major_ticks():
410 tick.tick1On = tick.tick2On = False
411 for tick in ax.xaxis.get_minor_ticks():
412 tick.tick1On = tick.tick2On = False
413 for tick in ax.yaxis.get_minor_ticks():
414 tick.tick1On = tick.tick2On = False
416 #----------------------------------------------------------------------
436 ax.set_xlim(-0.1, db[0][1][-1]+1)
444 #------------------------------------------------------------------------------