sStatementCount++;
    public static void updateDbStats(String sql, int duration) {        sql = DbUtil.normalizeSql(sql);        StatementStats stats = null;                synchronized (sSqlToStats) {            stats = (StatementStats) sSqlToStats.get(sql);            if (stats == null) {                stats = new StatementStats(sql);                sSqlToStats.put(sql, stats);            }            stats.mCount++;            stats.mTotalTime += duration;            if (duration < stats.mMinTime) {                stats.mMinTime = duration;            }            if (duration > stats.mMaxTime) {                stats.mMaxTime = duration;            }        }                if (duration > 0) {            ThreadLocalData.incrementDbTime(duration);        }        long now = System.currentTimeMillis();        if (now - sLastStatsWrite > STATS_WRITE_INTERVAL) {            writeDbStats();            sLastStatsWrite = now;        }        sStatementCount++;    }