~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/lsprof.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2008-03-10 06:05:21 UTC
  • mfrom: (151.1.7 clearer-argument-passing)
  • Revision ID: launchpad@pqm.canonical.com-20080310060521-29xe8hy1hmc3d1xl
[r=jamesh] show revisions which merge a change to a file when filtering on changes that touch files and don't reuse the 'file_id' argument name when doing so

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        for pp in _g_threadmap.values():
37
37
            pp.disable()
38
38
        threading.setprofile(None)
39
 
    
 
39
 
40
40
    threads = {}
41
41
    for tid, pp in _g_threadmap.items():
42
42
        threads[tid] = Stats(pp.getstats(), {})
112
112
        self.out_file = None
113
113
 
114
114
    def output(self, out_file):
115
 
        self.out_file = out_file        
 
115
        self.out_file = out_file
116
116
        print >> out_file, 'events: Ticks'
117
117
        self._print_summary()
118
118
        for entry in self.data: