public static boolean isProfilingEnabled() {
        return profilingEnabled;
    }
Returns true if connection profiling is turned on. You can collect
profiling statistics by using the static methods of the ProfiledConnection
class.

@return true if connection profiling is enabled.
xmppserver/src/main/java/org/jivesoftware/database/DbConnectionManager.java