public static function printQueryCount()
    {
        $totalTime = self::getDbElapsedSecs();
        $queryCount = Profiler::getQueryCount();
        if ($queryCount > 0) {
            Log::debug(sprintf("Total queries = %d (total sql time = %.2fs)", $queryCount, $totalTime));
        }
    }
public static function printQueryCount()
    {
        $totalTime = self::getDbElapsedSecs();
        $queryCount = Profiler::getQueryCount();
        if ($queryCount > 0) {
            Log::debug(sprintf("Total queries = %d (total sql time = %.2fs)", $queryCount, $totalTime));
        }
    }
public static function printQueryCount ( ) { $ totalTime = self :: getDbElapsedSecs ( ) ; $ queryCount = Profiler :: getQueryCount ( ) ; if ( $ queryCount > 0 ) { Log :: debug ( sprintf ( "Total queries = %d (total sql time = %.2fs)" , $ queryCount , $ totalTime ) ) ; } }
Print number of queries and elapsed time
Print number of queries and elapsed time