add running time measuring function in KKDebug