Example #1
0
def profilers_enabled():
    return all(p.enabled for p in all_profilers().itervalues())
Example #2
0
def profilers_enabled():
    return all(p.enabled for p in all_profilers().itervalues())
Example #3
0
def disable_profilers():
    profilers = all_profilers().values()
    for profiler in profilers: profiler.disable()
    _log_enabled_profilers(profilers)
Example #4
0
def disable_profilers():
    profilers = all_profilers().values()
    for profiler in profilers:
        profiler.disable()
    _log_enabled_profilers(profilers)