Home
last modified time | relevance | path

Searched refs:pretty_printer_definition (Results 1 – 1 of 1) sorted by relevance

/external/google-fruit/extras/benchmark/
Dformat_bench_results.py269 def determine_column_pretty_printer(pretty_printer_definition): argument
270 if 'format_string' in pretty_printer_definition:
271 return format_string_pretty_printer(pretty_printer_definition['format_string'])
273 if 'fixed_map' in pretty_printer_definition:
274 return dict_pretty_printer(pretty_printer_definition['fixed_map'])
276 raise Exception("Unrecognized pretty printer description: %s" % pretty_printer_definition)
279 def determine_row_pretty_printer(pretty_printer_definition): argument
280 return determine_column_pretty_printer(pretty_printer_definition)