Пример #1
0
            system_base_Profiler::$instance = new system_base_Profiler();
        }
        return system_base_Profiler::$instance;
    }
    static function stop()
    {
        system_base_Profiler::$stop_time = haxe_Timer::stamp();
        system_base_Profiler::$run_time = system_base_Profiler::$stop_time - system_base_Profiler::$start_time;
        return system_base_Profiler::$run_time;
    }
    static function lap()
    {
        return haxe_Timer::stamp() - system_base_Profiler::$start_time;
    }
    function __toString()
    {
        return 'system.base.Profiler';
    }
}
system_base_Profiler::$start_time = haxe_Timer::stamp();
system_base_Profiler::$query = new system_base_Pcall_sql();
system_base_Profiler::$connections = new system_base_Pcall_sql();
system_base_Profiler::$inserts = new system_base_Pcall_sql();
system_base_Profiler::$updates = new system_base_Pcall_sql();
system_base_Profiler::$deletes = new system_base_Pcall_sql();
system_base_Profiler::$selects = new system_base_Pcall_sql();
system_base_Profiler::$others = new system_base_Pcall_sql();
system_base_Profiler::$prepare = new system_base_Pcall_sql();
system_base_Profiler::$execute = new system_base_Pcall_sql();
system_base_Profiler::$logic = new system_base_Pcall_sql();
system_base_Profiler::$setting = new system_base_Pcall_sql();