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