Lines Matching refs:description
285 def _OutputPerfForStandaloneGraphing(self, graph_name, description, value,
296 description: A string description of the performance value. Should not
362 'traces': { description: [] }
369 if not description in new_line['traces']:
370 new_line['traces'][description] = []
372 new_line['traces'][description].append([str(x_value), str(y_value)])
376 'traces': { description: [str(value), str(0.0)] }
383 if description not in new_line['stack_order']:
384 new_line['stack_order'].append(description)
402 def _OutputPerfGraphValue(self, description, value, units,
413 |description| passed as input to this function. Any characters beyond the
418 description: A string description of the performance value. Should not
453 pyauto_utils.PrintPerfResult(graph_name, description, autotest_value,
458 perf_key = '%s_%s' % (units, description)
460 logging.warning('The description "%s" will be truncated to "%s" '
470 pyauto_utils.PrintPerfResult(graph_name, description, value, units)
477 pyauto_utils.PrintPerfResult(graph_name, description, value,
480 pyauto_utils.PrintPerfResult(graph_name, description, value, units)
484 graph_name, description, value, units, units_x, is_stacked)
486 def _OutputEventForStandaloneGraphing(self, description, event_list):
489 See function _OutputEventGraphValue below for a description of an event.
496 description: A string description of the event. Should not include
522 seen_event_type = description
528 value_list = existing_lines[0]['events'][description]
532 description: value_list
556 def _OutputEventGraphValue(self, description, event_list):
573 description: A string description of the event. Should not include
581 pyauto_utils.PrintPerfResult('_EVENT_', description, event_list, '')
583 self._OutputEventForStandaloneGraphing(description, event_list)
585 def _PrintSummaryResults(self, description, values, units, graph_name):
594 description: A string description for the specified results.
600 logging.info('Overall results for: %s', description)
604 self._OutputPerfGraphValue(description, values, units, graph_name)
608 def _RunNewTabTest(self, description, open_tab_command, graph_name,
617 description: A string description of the associated tab test.
645 self._PrintSummaryResults(description, timings, 'milliseconds', graph_name)
1311 description = 'FlashVideo1080P'
1313 logging.info('Result for %s: %f FPS (average)', description, result)
1314 self._OutputPerfGraphValue(description, result, 'FPS',
1317 logging.info('Result for %s: %f dropped frames', description, result)
1318 self._OutputPerfGraphValue(description, result, 'DroppedFrames',
1325 def _RunWebGLTest(self, url, description, graph_name):
1332 description: A string description for this demo, used as a performance
1333 value description. Should not contain any spaces.
1338 msg='Failed to append tab for %s.' % description)
1368 self._PrintSummaryResults(description, fps_vals, 'fps', graph_name)
1424 def _GetStdAvgAndCompare(self, avg_fps, description, ref_dict):
1429 description: A string description for this demo, used as a performance
1430 value description.
1449 std_fps = platform_ref_dict[description]
1454 logging.info('FPS difference exceeds threshold for: %s', description)
1460 'more than the reference FPS for: %s', description)
1514 # Get URL/Description from dictionary and put in individual array
1804 def RunScrollTest(self, url, description, graph_name, is_gmail_test=False):
1809 description: A string description for the particular test being run.
1825 description, [r.GetFps(1) for r in results],
1930 def _RunFlashTestForAverageFPS(self, webpage_url, description, graph_name):
1935 description: A string description for this test.
1954 logging.info('Result for %s: %f FPS (average)', description, result)
1955 self._OutputPerfGraphValue(description, result, 'FPS', graph_name)
2012 description, graph_name):
2024 description: A string description for this game, used in the performance
2025 value description. Should not contain any spaces.
2045 self._OutputPerfGraphValue(description + 'CpuBusy', fraction_non_idle_time,
2050 self._OutputPerfGraphValue(description + 'V8HeapSize', v8_heap_size, 'MB',
2204 def RunPageCyclerTest(self, name, description):
2209 description: a string description for the test
2220 (description, final_result))
2221 self._OutputPerfGraphValue(description + '_PageCycler', final_result,
2256 def RunPageCyclerTest(self, dirname, description):
2261 description: a string description for the test
2265 super(PageCyclerTest, self).RunPageCyclerTest(dirname, description)
2365 def RunPageCyclerTest(self, test_name, description):
2370 description: a string description for the test
2377 super_self.RunPageCyclerTest(test_name, description)
2395 def _RecordMemoryStats(self, description, when, duration):
2399 description: A string description for the test. Should not contain
2401 when: A string description of when the memory stats are being recorded
2430 '%s-Min%s-%s' % (description, type_string, when),
2431 mem[type_key]['min'], 'KB', '%s-%s' % (description, type_string))
2433 '%s-Max%s-%s' % (description, type_string, when),
2434 mem[type_key]['max'], 'KB', '%s-%s' % (description, type_string))
2436 '%s-End%s-%s' % (description, type_string, when),
2437 mem[type_key]['end'], 'KB', '%s-%s' % (description, type_string))
2439 def _RunTest(self, tabs, description, duration):
2445 description: A string description for the test. Should not contain
2450 self._RecordMemoryStats(description, '0Tabs0', duration)
2456 self._RecordMemoryStats(description,
2463 description, '0Tabs%d' % (iteration_num + 1),