Example #1
0
 def _start_session(self):
     try:
         profiler.start(logdir=self._logdir)
         self._session_running = True
         self._session_started = time.time()
     except Exception as e:  # pylint: disable=broad-except
         logging.exception("Could not start profiling: %s", e)
 def _start_session(self):
   self._session_running = True
   self._session_started = time.time()
   profiler.start(logdir=self._logdir)
 def _start_session(self):
   self._session_running = True
   profiler.start()