Esempio n. 1
0
 def graph_data(self, run_id):
     run = request.db.get_run(run_id)
     try:
         return stats.generate_call_graph(run.stats)
     except:
         LOG.exception('could not generate image')
         raise
 def graph_data(self, run_id):
     run = request.db.get_run(run_id)
     try:
         return stats.generate_call_graph(run.stats)
     except:
         LOG.exception('could not generate image')
         raise
Esempio n. 3
0
 def render(self):
     image_data = stats.generate_call_graph(self.stats_data)
     with open(self.image_filename, 'w') as f:
         f.write(image_data)
     return super(CallGraphPage, self).render()
Esempio n. 4
0
 def render(self):
     image_data = stats.generate_call_graph(self.stats_data)
     with open(self.image_filename, 'w') as f:
         f.write(image_data)
     return super(CallGraphPage, self).render()