Lines Matching refs:row

242 def display(scr, row, col, str, attr=0):  argument
244 scr.addstr(row, col, str, attr)
252 print "row=%d, col=%d, str='%s'" % (row, col, str)
257 def display_domain_id(scr, row, col, dom): argument
259 display(scr, row, col-1, "Idle")
261 display(scr, row, col, "%d" % dom)
356 row = 0
357 display(stdscr, row, 1, "CPU = %d" % cpu, _c.A_STANDOUT)
359 …display(stdscr, row, 10, "%sLast 10 seconds (%3.2f%%)%sLast 1 second (%3.2f%%)" % (6*' ', cpu_10se…
360 row +=1
361 display(stdscr, row, 1, "%s" % ((maxx-2)*'='))
375 row += 1
377 display_domain_id(stdscr, row, col, domain_id[dom])
379 display(stdscr, row, col, "%s" % time_scale(h2[dom][0][0]))
381 display(stdscr, row, col, "%3.2f%%" % h2[dom][0][1])
385 display(stdscr, row, col, "%s/ex" % time_scale(h2[dom][0][2]))
387 display(stdscr, row, col, "%s" % time_scale(h1[dom][0][0]))
389 display(stdscr, row, col, "%3.2f%%" % h1[dom][0][1], _c.A_STANDOUT)
391 display(stdscr, row, col, "%s/ex" % time_scale(h1[dom][0][2]))
393 display(stdscr, row, col, "Gotten")
400 row += 1
402 display_domain_id(stdscr, row, col, domain_id[dom])
404 display(stdscr, row, col, "%s/ex" % time_scale(h2[dom][1]))
406 display(stdscr, row, col, "%s/ex" % time_scale(h1[dom][1]))
408 display(stdscr, row, col, "Allocated")
412 row += 1
414 display_domain_id(stdscr, row, col, domain_id[dom])
416 display(stdscr, row, col, "%s" % time_scale(h2[dom][2][0]))
418 display(stdscr, row, col, "%3.2f%%" % h2[dom][2][1])
420 display(stdscr, row, col, "%s/io" % time_scale(h2[dom][2][2]))
422 display(stdscr, row, col, "%s" % time_scale(h1[dom][2][0]))
424 display(stdscr, row, col, "%3.2f%%" % h1[dom][2][1])
426 display(stdscr, row, col, "%s/io" % time_scale(h1[dom][2][2]))
428 display(stdscr, row, col, "Blocked")
432 row += 1
434 display_domain_id(stdscr, row, col, domain_id[dom])
436 display(stdscr, row, col, "%s" % time_scale(h2[dom][3][0]))
438 display(stdscr, row, col, "%3.2f%%" % h2[dom][3][1])
440 display(stdscr, row, col, "%s/ex" % time_scale(h2[dom][3][2]))
442 display(stdscr, row, col, "%s" % time_scale(h1[dom][3][0]))
444 display(stdscr, row, col, "%3.2f%%" % h1[dom][3][1])
446 display(stdscr, row, col, "%s/ex" % time_scale(h1[dom][3][2]))
448 display(stdscr, row, col, "Waited")
452 row += 1
454 display_domain_id(stdscr, row, col, domain_id[dom])
457 display(stdscr, row, col, "%d/s" % h2[dom][4])
459 display(stdscr, row, col, "%d" % h1[dom][4])
461 display(stdscr, row, col, "Execution count")
465 row += 1
467 display_domain_id(stdscr, row, col, domain_id[dom])
469 display(stdscr, row, col, "%d/s" % h2[dom][5][0])
471 display(stdscr, row, col, "%d/ex" % h2[dom][5][1])
473 display(stdscr, row, col, "%d" % h1[dom][5][0])
475 display(stdscr, row, col, "%3.2f/ex" % h1[dom][5][1])
477 display(stdscr, row, col, "I/O Count")
485 row += 1
488 display(stdscr, row, 1, star)
489 display(stdscr, row, 2, TOTALS % (total_h2_cpu, total_h1_cpu))
490 row += 1
496 row += 1
497 display(stdscr, row, 2,