code: def analyse_timing(
      preproc_lm_only, model_lm_only, preproc_full, model_full
  ):
      ave_preproc = (preproc_lm_only + preproc_full) / 2
      lm_time = model_lm_only
  
      # init_to_formatted_lm = preproc_lm_only + model_lm_only
      # init_to_formatted_full = preproc_full + model_full
      # ph_time = init_to_formatted_full - init_to_formatted_lm
  
      ph_time = model_full - model_lm_only
      total = preproc_full + model_full
  
      return ave_preproc, lm_time, ph_time, total
  
file_path: FARM/test/benchmarks/question_answering_components.py
imports: from farm.infer import Inferencer
  from pprint import pformat
  import pandas
  from tqdm import tqdm
  import logging
  import json
  from datetime import date
label_desc: Use image node_id 7 for calling a global function with example usage: analyse_timing(preproc_lm_only, model_lm_only, preproc_full, model_full) and returns: ave_preproc,  lm_time,  ph_time,  total