Searched refs:profile_datum (Results 1 – 3 of 3) sorted by relevance
64 def __init__(self, profile_datum): argument72 self.total_op_time = profile_datum.op_time73 self.total_exec_time = profile_datum.exec_time74 device_and_node = "%s:%s" % (profile_datum.device_name,75 profile_datum.node_exec_stats.node_name)78 def add(self, profile_datum): argument86 self.total_op_time += profile_datum.op_time87 self.total_exec_time += profile_datum.exec_time88 device_and_node = "%s:%s" % (profile_datum.device_name,89 profile_datum.node_exec_stats.node_name)[all …]
351 for profile_datum in profile_data:352 if not profile_datum.file_path:355 if _norm_abs_path(profile_datum.file_path) != source_file_path:358 if (min_line is not None and profile_datum.line_number < min_line or359 max_line is not None and profile_datum.line_number >= max_line):363 not node_name_regex.match(profile_datum.node_exec_stats.node_name)):366 if op_type_regex and not op_type_regex.match(profile_datum.op_type):369 if profile_datum.line_number not in line_to_profile_summary:370 line_to_profile_summary[profile_datum.line_number] = (371 profiling.AggregateProfile(profile_datum))[all …]
143 profile_datum, argument170 profile_datum.node_exec_stats.node_name):173 if (not profile_datum.file_path or174 not file_path_regex.match(profile_datum.file_path)):176 if (min_lineno > 0 and profile_datum.line_number and177 profile_datum.line_number < min_lineno):179 if (max_lineno > 0 and profile_datum.line_number and180 profile_datum.line_number >= max_lineno):182 if (profile_datum.op_type is not None and op_type_regex and183 not op_type_regex.match(profile_datum.op_type)):[all …]