code: def StartProfiling(self, configuration, identifier, process_information):
      
      if not configuration:
        return
  
      if configuration.HaveProfileParsers():
        identifier = '{0:s}-parsers'.format(identifier)
  
        self._cpu_time_profiler = profilers.CPUTimeProfiler(
            identifier, configuration)
        self._cpu_time_profiler.Start()
  
        self._memory_profiler = profilers.MemoryProfiler(
            identifier, configuration)
        self._memory_profiler.Start()
  
      self._process_information = process_information
docs: Starts profiling.
  
      Args:
        configuration (ProfilingConfiguration): profiling configuration.
        identifier (str): identifier of the profiling session used to create
            the sample filename.
        process_information (ProcessInfo): process information.