Home | History | Annotate | Download | only in python2.7

Lines Matching full:stream

63         # I can't figure out how to explictly specify a stream keyword arg
65 # def __init__(self, *args, stream=sys.stdout): ...
67 self.stream = sys.stdout
68 if "stream" in kwds:
69 self.stream = kwds["stream"]
70 del kwds["stream"]
102 print >> self.stream, "Invalid timing data",
103 if self.files: print >> self.stream, self.files[-1],
104 print >> self.stream
335 print >> self.stream, msg
345 print >> self.stream, filename
346 if self.files: print >> self.stream
349 print >> self.stream, indent, func_get_function_name(func)
351 print >> self.stream, indent, self.total_calls, "function calls",
353 print >> self.stream, "(%d primitive calls)" % self.prim_calls,
354 print >> self.stream, "in %.3f seconds" % self.total_tt
355 print >> self.stream
361 print >> self.stream
362 print >> self.stream
376 print >> self.stream
377 print >> self.stream
387 print >> self.stream
388 print >> self.stream
392 print >> self.stream, "Function ".ljust(name_size) + column_title
401 print >> self.stream, " "*name_size + " ncalls tottime cumtime"
404 print >> self.stream, func_std_string(source).ljust(name_size) + arrow,
406 print >> self.stream
426 print >> self.stream, indent*left_width + substats
430 print >> self.stream, ' ncalls tottime percall cumtime percall',
431 print >> self.stream, 'filename:lineno(function)'
438 print >> self.stream, c.rjust(9),
439 print >> self.stream, f8(tt),
441 print >> self.stream, ' '*8,
443 print >> self.stream, f8(float(tt)/nc),
444 print >> self.stream, f8(ct),
446 print >> self.stream, ' '*8,
448 print >> self.stream, f8(float(ct)/cc),
449 print >> self.stream, func_std_string(func)
554 self.stream = sys.stdout
570 print >> self.stream, "Fraction argument must be in [0, 1]"
580 print >> self.stream, "No statistics object is loaded."
583 print >> self.stream, "Arguments may be:"
584 print >> self.stream, "* An integer maximum number of entries to print."
585 print >> self.stream, "* A decimal fractional number between 0 and 1, controlling"
586 print >> self.stream, " what fraction of selected entries to print."
587 print >> self.stream, "* A regular expression; only entries with function names"
588 print >> self.stream, " that match it are printed."
594 print >> self.stream, "No statistics object is loaded."
597 print >> self.stream, "Add profile info from given file to current statistics object."
602 print >> self.stream, "Print callees statistics from the current stat object."
608 print >> self.stream, "Print callers statistics from the current stat object."
612 print >> self.stream, ""
615 print >> self.stream, "Leave the profile brower."
620 print >> self.stream, "Leave the profile brower."
627 print >> self.stream, args[1]
630 print >> self.stream, err.__class__.__name__ + ':', err
637 print >> self.stream, "No statistics object is current -- cannot reload."
640 print >> self.stream, "Read in profile data from a specified file."
641 print >> self.stream, "Without argument, reload the current file."
647 print >> self.stream, "No statistics object is loaded."
650 print >> self.stream, "Reverse the sort order of the profiling report."
654 print >> self.stream, "No statistics object is loaded."
660 print >> self.stream, "Valid sort keys (unique prefixes are accepted):"
662 print >> self.stream, "%s -- %s" % (key, value[1])
665 print >> self.stream, "Sort profile data according to specified keys."
666 print >> self.stream, "(Typing `sort' without arguments lists valid keys.)"
673 print >> self.stream, "Print statistics from the current stat object."
680 print >> self.stream, "No statistics object is loaded."
682 print >> self.stream, "Strip leading path information from filenames in the report."
685 print >> self.stream, "Show help for a given command."
699 print >> browser.stream, "Welcome to the profile statistics browser."
701 print >> browser.stream, "Goodbye."