Skip to content

Commit

Permalink
Merge pull request #759 from jgphpc/MAINT-54
Browse files Browse the repository at this point in the history
[bugfix] Force units in gperftools report
  • Loading branch information
vkarak committed Apr 15, 2019
2 parents c73d802 + 85c21c4 commit 3753da9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ def __init__(self, lang):
'chmod u+x %s' % (self.split_file),
]
self.post_run = [
'pprof --text --lines %s %s &> %s' %
'$EBROOTPPROF/bin/pprof --unit=ms --text --lines %s %s &> %s' %
(self.exe, '*.0', self.rpt_file_txt),
'pprof --pdf %s %s &> %s' % (self.exe, '*.0', self.rpt_file_pdf),
'$EBROOTPPROF/bin/pprof --pdf %s %s &> %s' %
(self.exe, '*.0', self.rpt_file_pdf),
'file %s &> %s' % (self.rpt_file_pdf, self.rpt_file_doc)
]
self.sanity_patterns = sn.all([
Expand Down

0 comments on commit 3753da9

Please sign in to comment.