Show More
@@ -540,7 +540,11 b' def display_by_line(data, fp):' | |||||
540 |
|
540 | |||
541 | for stat in stats: |
|
541 | for stat in stats: | |
542 | site = stat.site |
|
542 | site = stat.site | |
543 |
sitelabel = b'%s:%d:%s' % ( |
|
543 | sitelabel = b'%s:%d:%s' % ( | |
|
544 | site.filename(), | |||
|
545 | site.lineno or -1, | |||
|
546 | site.function, | |||
|
547 | ) | |||
544 | fp.write( |
|
548 | fp.write( | |
545 | b'%6.2f %9.2f %9.2f %s\n' |
|
549 | b'%6.2f %9.2f %9.2f %s\n' | |
546 | % ( |
|
550 | % ( | |
@@ -613,7 +617,7 b' def display_by_method(data, fp):' | |||||
613 | stattuple = ( |
|
617 | stattuple = ( | |
614 | stat.selfpercent(), |
|
618 | stat.selfpercent(), | |
615 | stat.selfseconds(), |
|
619 | stat.selfseconds(), | |
616 | stat.site.lineno, |
|
620 | stat.site.lineno or -1, | |
617 | source, |
|
621 | source, | |
618 | ) |
|
622 | ) | |
619 |
|
623 |
General Comments 0
You need to be logged in to leave comments.
Login now