parameters: (one_step, result)
docstring: Parse step mind_data ai_cpu data.
  
          Args:
              one_step (str): The mind_data step info text, it is one of two structures.
  
                  Type queue: node_name,queue_size,run_start,run_end
                  Type run: node_name,run_start,run_end,queue_size
  
              result ([[node_name, node_start, node_end, queue_size]]): Step info list.
docstring_summary: Parse step mind_data ai_cpu data.
docstring_tokens: Parse step mind_data ai_cpu data .
function: def parse_step_minddata_aicpu_data(one_step, result):
          """
          Parse step mind_data ai_cpu data.
  
          Args:
              one_step (str): The mind_data step info text, it is one of two structures.
  
                  Type queue: node_name,queue_size,run_start,run_end
                  Type run: node_name,run_start,run_end,queue_size
  
              result ([[node_name, node_start, node_end, queue_size]]): Step info list.
          """
  
          if not one_step:
              return
          node_info = one_step.split(", ")
          node_name, node_start, node_end, queue_size = "", 0, 0, 0
          if node_info:
              node_name = node_info[0].replace("Node:", "")
  
          if len(node_info) > 3:
              if "queue" in node_info[1]:
                  queue_size = node_info[1].replace("queue size:", "")
                  node_start = node_info[2].replace("Run start:", "")
                  node_end = node_info[3].replace("Run end:", "")
              elif "Run" in node_info[1]:
                  queue_size = node_info[3].replace("queue size:", "")
                  node_start = node_info[1].replace("Run start:", "")
                  node_end = node_info[2].replace("Run end:", "")
              queue_size = int(queue_size) if queue_size.isdigit() else queue_size
              node_start = int(node_start) if node_start.isdigit() else node_start
              node_end = int(node_end) if node_end.isdigit() else node_end
  
          one_step_list = [node_name, node_start, node_end, queue_size]
          result.append(one_step_list)
function_tokens: def parse_step_minddata_aicpu_data ( one_step , result ) : if not one_step : return node_info = one_step . split ( ", " ) node_name , node_start , node_end , queue_size = "" , 0 , 0 , 0 if node_info : node_name = node_info [ 0 ] . replace ( "Node:" , "" ) if len ( node_info ) > 3 : if "queue" in node_info [ 1 ] : queue_size = node_info [ 1 ] . replace ( "queue size:" , "" ) node_start = node_info [ 2 ] . replace ( "Run start:" , "" ) node_end = node_info [ 3 ] . replace ( "Run end:" , "" ) elif "Run" in node_info [ 1 ] : queue_size = node_info [ 3 ] . replace ( "queue size:" , "" ) node_start = node_info [ 1 ] . replace ( "Run start:" , "" ) node_end = node_info [ 2 ] . replace ( "Run end:" , "" ) queue_size = int ( queue_size ) if queue_size . isdigit ( ) else queue_size node_start = int ( node_start ) if node_start . isdigit ( ) else node_start node_end = int ( node_end ) if node_end . isdigit ( ) else node_end one_step_list = [ node_name , node_start , node_end , queue_size ] result . append ( one_step_list )