code: def testAddToAggregateProfileWithSameNodeWorks(self):
      aggregate_data = profiling.AggregateProfile(self.profile_datum_1)
      aggregate_data.add(self.profile_datum_2)
      aggregate_data.add(self.profile_datum_3)
  
      self.assertEqual(7, aggregate_data.total_op_time)
      self.assertEqual(25, aggregate_data.total_exec_time)
      self.assertEqual(2, aggregate_data.node_count)
      self.assertEqual(3, aggregate_data.node_exec_count)
  
file_path: tensorflow/tensorflow/python/debug/lib/profiling_test.py
imports: from tensorflow.core.framework import step_stats_pb2
  from tensorflow.python.debug.lib import profiling
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 4 for calling the AggregateProfile obj's underlying member method code with example usage: obj.testAddToAggregateProfileWithSameNodeWorks() without return types