code: def getProfileInfo(exp):
    
  
    totalTime = 0.000001
    for region in exp.network.regions.values():
      timer = region.getComputeTimer()
      totalTime += timer.getElapsed()
  
    # Sort the region names
    regionNames = list(exp.network.regions.keys())
    regionNames.sort()
  
    count = 1
    profileInfo = []
    L2Time = 0.0
    L4Time = 0.0
    for regionName in regionNames:
      region = exp.network.regions[regionName]
      timer = region.getComputeTimer()
      count = max(timer.getStartCount(), count)
      profileInfo.append([region.name,
                          timer.getStartCount(),
                          timer.getElapsed(),
                          100.0 * timer.getElapsed() / totalTime,
                          timer.getElapsed() / max(timer.getStartCount(), 1)])
      if "L2Column" in regionName:
        L2Time += timer.getElapsed()
      elif "L4Column" in regionName:
        L4Time += timer.getElapsed()
    return L2Time
docs: Prints profiling information.
  
    Parameters:
    ----------------------------
    @param   reset (bool)
             If set to True, the profiling will be reset.