Lines Matching refs:report
83 def _find_start_time(self, report): argument
84 startqemu = report._qemu_timings._records[0]._timestamp
85 startguest = report._guest_timings._records[0]._timestamp
91 def _get_guest_max_value(self, report): argument
93 for record in report._guest_timings._records:
98 def _get_qemu_max_value(self, report): argument
102 for record in report._qemu_timings._records:
118 def _get_total_guest_cpu_graph(self, report, starttime): argument
123 for record in report._guest_timings._records:
124 while ((progress_idx + 1) < len(report._progress_history) and
125 report._progress_history[progress_idx + 1]._now < record._timestamp):
129 progress = report._progress_history[progress_idx]
140 name="Guest PIDs: %s" % report._scenario._name,
150 def _get_split_guest_cpu_graphs(self, report, starttime): argument
152 for record in report._guest_timings._records:
162 for record in report._guest_timings._records:
163 while ((progress_idx + 1) < len(report._progress_history) and
164 report._progress_history[progress_idx + 1]._now < record._timestamp):
168 progress = report._progress_history[progress_idx]
183 name="PID %s: %s" % (tid, report._scenario._name),
194 def _get_migration_iters_graph(self, report, starttime): argument
198 for progress in report._progress_history:
215 def _get_qemu_cpu_graph(self, report, starttime): argument
221 first = report._qemu_timings._records[0]
225 for record in report._qemu_timings._records[1:]:
226 while ((progress_idx + 1) < len(report._progress_history) and
227 report._progress_history[progress_idx + 1]._now < record._timestamp):
231 progress = report._progress_history[progress_idx]
255 name="QEMU: %s" % report._scenario._name,
265 def _get_vcpu_cpu_graphs(self, report, starttime): argument
267 for record in report._vcpu_timings._records:
279 for record in report._vcpu_timings._records:
280 while ((progress_idx + 1) < len(report._progress_history) and
281 report._progress_history[progress_idx + 1]._now < record._timestamp):
285 progress = report._progress_history[progress_idx]
315 name="VCPU %s: %s" % (tid, report._scenario._name),
326 def _generate_chart_report(self, report): argument
328 starttime = self._find_start_time(report)
330 graphs.append(self._get_total_guest_cpu_graph(report, starttime))
332 graphs.extend(self._get_split_guest_cpu_graphs(report, starttime))
334 graphs.append(self._get_qemu_cpu_graph(report, starttime))
336 graphs.extend(self._get_vcpu_cpu_graphs(report, starttime))
338 graphs.append(self._get_migration_iters_graph(report, starttime))
348 def _generate_annotations(self, report): argument
349 starttime = self._find_start_time(report)
352 for progress in report._progress_history:
367 for report in self._reports:
368 graphs.extend(self._generate_chart_report(report))
370 maxvalue = self._get_guest_max_value(report)
374 maxvalue = self._get_qemu_max_value(report)
385 for report in self._reports:
386 annotations.extend(self._generate_annotations(report))
417 for report in self._reports:
421 """ % report._scenario._name)
447 """ % (report._binary, report._kernel,
448 report._initrd, report._transport, report._dst_host))
450 hardware = report._hardware
500 scenario = report._scenario