Exemplo n.º 1
0
    def handle(self, args):
        results = Results.load(args.results[0])
        if args.savefig:
            results.plot_workload(savefig=args.savefig)
            return ""

        plt = results.plot_workload()
        plt.show()
Exemplo n.º 2
0
 def setUp(self):
     self.handler = TimeSeriesAggregator()
     with open(RESULTS, 'r') as f:
         self.results = Results.load(f)
Exemplo n.º 3
0
 def setUp(self):
     self.handler = TimeSeriesAggregator()
     with open(RESULTS, 'r') as f:
         self.results = Results.load(f)