Lines Matching full:percentile
54 h_title = { True: 'Percentile', False: 'Time (s)' }
71 def _parse_log_file(cls, file_name, pass_index, pass_count, percentile):
83 @param percentile: flag to use percentile as key instead of timestamp
97 # Sort & calculate percentile
98 if percentile:
115 def _gen_data_col(cls, pass_list, percentile):
123 @param percentile: flag to use percentile as key instead of timestamp
127 if percentile:
128 col_name_list = ['percentile'] + [p[0] for p in pass_list]
135 def _gen_data_row(cls, test_type, pass_list, percentile):
142 @param percentile: flag to use percentile as key instead of timestamp
150 pass_count, percentile))
154 def _write_data(cls, f, test_type, pass_list, percentile):
162 @param percentile: flag to use percentile as key instead of timestamp
164 col = cls._gen_data_col(pass_list, percentile)
165 row = cls._gen_data_row(test_type, pass_list, percentile)
173 def _write_option(cls, f, test_name, test_type, percentile):
180 @param percentile: flag to use percentile as key instead of timestamp
183 if percentile:
184 option['title'] = ('Percentile graph of %s for %s workload' %
190 option['hAxis'] = {'title': cls.h_title[percentile]}
198 def _write_graph(cls, test_name, test_type, pass_list, percentile=False):
205 @param percentile: flag to use percentile as key instead of timestamp
211 if percentile:
218 cls._write_data(f, test_type, pass_list, percentile)
219 cls._write_option(f, test_name, test_type, percentile)