Lines Matching refs:file

11 # you may not use this file except in compliance with the License.
83 method now take arbitrarily many file names as arguments.
134 (self.files[-1] if self.files else ''), file=self.stream)
196 """Write the profile data to a file we know how to load back."""
207 "filename" : (((4, 1), ), "file name"),
209 "module" : (((4, 1), ), "file name"),
211 "nfl" : (((6, 1),(4, 1),(5, 1),), "name/file/line"),
406 print(msg, file=self.stream)
416 print(filename, file=self.stream)
418 print(file=self.stream)
421 print(indent, func_get_function_name(func), file=self.stream)
423 print(indent, self.total_calls, "function calls", end=' ', file=self.stream)
425 print("(%d primitive calls)" % self.prim_calls, end=' ', file=self.stream)
426 print("in %.3f seconds" % self.total_tt, file=self.stream)
427 print(file=self.stream)
433 print(file=self.stream)
434 print(file=self.stream)
448 print(file=self.stream)
449 print(file=self.stream)
459 print(file=self.stream)
460 print(file=self.stream)
464 print("Function ".ljust(name_size) + column_title, file=self.stream)
473 print(" "*name_size + " ncalls tottime cumtime", file=self.stream)
476 print(func_std_string(source).ljust(name_size) + arrow, end=' ', file=self.stream)
478 print(file=self.stream)
497 print(indent*left_width + substats, file=self.stream)
501 print(' ncalls tottime percall cumtime percall', end=' ', file=self.stream)
502 print('filename:lineno(function)', file=self.stream)
509 print(c.rjust(9), end=' ', file=self.stream)
510 print(f8(tt), end=' ', file=self.stream)
512 print(' '*8, end=' ', file=self.stream)
514 print(f8(tt/nc), end=' ', file=self.stream)
515 print(f8(ct), end=' ', file=self.stream)
517 print(' '*8, end=' ', file=self.stream)
519 print(f8(ct/cc), end=' ', file=self.stream)
520 print(func_std_string(func), file=self.stream)
545 # func_name is a triple (file:string, line:int, name:string)
641 print("Fraction argument must be in [0, 1]", file=self.stream)
651 print("No statistics object is loaded.", file=self.stream)
654 print("Arguments may be:", file=self.stream)
655 print("* An integer maximum number of entries to print.", file=self.stream)
656 print("* A decimal fractional number between 0 and 1, controlling", file=self.stream)
657 print(" what fraction of selected entries to print.", file=self.stream)
658 print("* A regular expression; only entries with function names", file=self.stream)
659 print(" that match it are printed.", file=self.stream)
666 print("Failed to load statistics for %s: %s" % (line, e), file=self.stream)
668 print("No statistics object is loaded.", file=self.stream)
671 print("Add profile info from given file to current statistics object.", file=self.stream)
676 print("Print callees statistics from the current stat object.", file=self.stream)
682 print("Print callers statistics from the current stat object.", file=self.stream)
686 print("", file=self.stream)
689 print("Leave the profile browser.", file=self.stream)
694 print("Leave the profile browser.", file=self.stream)
701 print(err.args[1], file=self.stream)
704 print(err.__class__.__name__ + ':', err, file=self.stream)
711 print("No statistics object is current -- cannot reload.", file=self.stream)
714 print("Read in profile data from a specified file.", file=self.stream)
715 print("Without argument, reload the current file.", file=self.stream)
721 print("No statistics object is loaded.", file=self.stream)
724 print("Reverse the sort order of the profiling report.", file=self.stream)
728 print("No statistics object is loaded.", file=self.stream)
734 print("Valid sort keys (unique prefixes are accepted):", file=self.stream)
736 print("%s -- %s" % (key, value[1]), file=self.stream)
739 print("Sort profile data according to specified keys.", file=self.stream)
740 print("(Typing `sort' without arguments lists valid keys.)", file=self.stream)
747 print("Print statistics from the current stat object.", file=self.stream)
754 print("No statistics object is loaded.", file=self.stream)
756 print("Strip leading path information from filenames in the report.", file=self.stream)
759 print("Show help for a given command.", file=self.stream)
774 print("Welcome to the profile statistics browser.", file=browser.stream)
776 print("Goodbye.", file=browser.stream)