Example #1
0
 def isProfilingEnabled(self):
   return magneto.isProfilingEnabled()
Example #2
0
 def isProfilingEnabled(self):
     return magneto.isProfilingEnabled()
Example #3
0
 def enableProfiling(self, yes = True):
   magneto.enableProfiling(yes)
   if magneto.isProfilingEnabled():
     logger.info("Profiling enabled")
   else:
     logger.info("Profiling disabled")
Example #4
0
 def enableProfiling(self, yes=True):
     magneto.enableProfiling(yes)
     if magneto.isProfilingEnabled():
         logger.info("Profiling enabled")
     else:
         logger.info("Profiling disabled")