please include function poorMansProfiling. static bool poorMansProfiling_isOn() { lock poorMansProfiling_lock; ret poorMansProfiling_timer != null; }