Script execution
This commit is contained in:
@@ -12,10 +12,10 @@ class all_statistics_data (object):
|
||||
m10 = statistics_data()
|
||||
|
||||
def return_string(self):
|
||||
print "Statistics:\tmin\tmean\tmax\tstdev"
|
||||
print "Saturation :\t" + str(self.sat.min)[:7] + "\t" + str(self.sat.mean)[:7] + "\t" + str(self.sat.max)[:7] + "\t" + str(self.sat.stdev)[:7]
|
||||
print "5% out of sat :\t" + str(self.m5.min)[:7] + "\t" + str(self.m5.mean)[:7] + "\t" + str(self.m5.max)[:7] + "\t" + str(self.m5.stdev)[:7]
|
||||
print "10% out of sat:\t" + str(self.m10.min)[:7] + "\t" + str(self.m10.mean)[:7] + "\t" + str(self.m10.max)[:7] + "\t" + str(self.m10.stdev)[:7]
|
||||
ret_str = "Statistics:\tmin\tmean\tmax\tstdev"
|
||||
ret_str = ret_str + "\nSaturation :\t" + str(self.sat.min)[:7] + "\t" + str(self.sat.mean)[:7] + "\t" + str(self.sat.max)[:7] + "\t" + str(self.sat.stdev)[:7]
|
||||
ret_str = ret_str + "\n5% out of sat :\t" + str(self.m5.min)[:7] + "\t" + str(self.m5.mean)[:7] + "\t" + str(self.m5.max)[:7] + "\t" + str(self.m5.stdev)[:7]
|
||||
ret_str = ret_str + "\n10% out of sat:\t" + str(self.m10.min)[:7] + "\t" + str(self.m10.mean)[:7] + "\t" + str(self.m10.max)[:7] + "\t" + str(self.m10.stdev)[:7]
|
||||
|
||||
|
||||
def statistics_calc(data_in):
|
||||
@@ -65,4 +65,5 @@ pre_jit_phase = all_statistics_calc(scan_result.getReadable(5))
|
||||
kly_jit_amplt = all_statistics_calc(scan_result.getReadable(6))
|
||||
kly_jit_phase = all_statistics_calc(scan_result.getReadable(7))
|
||||
|
||||
ref_jit_amplt.return_string()
|
||||
mystr = ref_jit_amplt.return_string()
|
||||
print mystr
|
||||
|
||||
Reference in New Issue
Block a user