(cls)
| 52 | |
| 53 | @classmethod |
| 54 | def summarize(cls): |
| 55 | if len(cls.__hist) == 0: return |
| 56 | separator = "-"*67 |
| 57 | format_string = "| {0:40.39} | {1:12.7} | {2:5} |" |
| 58 | print(separator) |
| 59 | print(format_string.format("Label", "Time", "Count")) |
| 60 | print(separator) |
| 61 | for f_name in cls.__hist.keys(): |
| 62 | print(format_string.format( |
| 63 | f_name, |
| 64 | cls.__hist[f_name], |
| 65 | cls.__count[f_name])) |
| 66 | print(separator) |
| 67 | |
| 68 | if len(cls.__tiks) > 0: |
| 69 | print("==== orphans tiks ====") |
| 70 | print(cls.__tiks.keys()) |
| 71 | |
| 72 | @property |
| 73 | def tiks(self): |
no outgoing calls
no test coverage detected