Searched refs:profile_datum (Results 1 – 3 of 3) sorted by relevance
68 def __init__(self, profile_datum): argument76 self.total_op_time = profile_datum.op_time77 self.total_exec_time = profile_datum.exec_time78 device_and_node = "%s:%s" % (profile_datum.device_name,79 profile_datum.node_exec_stats.node_name)82 def add(self, profile_datum): argument90 self.total_op_time += profile_datum.op_time91 self.total_exec_time += profile_datum.exec_time92 device_and_node = "%s:%s" % (profile_datum.device_name,93 profile_datum.node_exec_stats.node_name)[all …]
291 for profile_datum in profile_data:292 if not profile_datum.file_path:295 if _norm_abs_path(profile_datum.file_path) != source_file_path:298 if (min_line is not None and profile_datum.line_number < min_line or299 max_line is not None and profile_datum.line_number >= max_line):303 not node_name_regex.match(profile_datum.node_exec_stats.node_name)):306 if op_type_regex and not op_type_regex.match(profile_datum.op_type):309 if profile_datum.line_number not in line_to_profile_summary:310 line_to_profile_summary[profile_datum.line_number] = (311 profiling.AggregateProfile(profile_datum))[all …]
147 profile_datum, argument174 profile_datum.node_exec_stats.node_name):177 if (not profile_datum.file_path or178 not file_path_regex.match(profile_datum.file_path)):180 if (min_lineno > 0 and profile_datum.line_number and181 profile_datum.line_number < min_lineno):183 if (max_lineno > 0 and profile_datum.line_number and184 profile_datum.line_number >= max_lineno):186 if (profile_datum.op_type is not None and op_type_regex and187 not op_type_regex.match(profile_datum.op_type)):[all …]