$data = self::getCache()->get( self::getKey( $id ) );
$real = microtime( true ) - $stime;
- RequestContext::getMain()->getStats()->timing( "session.read", $real );
+ RequestContext::getMain()->getStats()->timing( "session.read", 1000 * $real );
self::$hashCache = array( $id => self::getHash( $data ) );
self::getCache()->set( self::getKey( $id ), $data, $wgObjectCacheSessionExpiry );
$real = microtime( true ) - $stime;
- RequestContext::getMain()->getStats()->timing( "session.write", $real );
+ RequestContext::getMain()->getStats()->timing( "session.write", 1000 * $real );
}
return true;
self::getCache()->delete( self::getKey( $id ) );
$real = microtime( true ) - $stime;
- RequestContext::getMain()->getStats()->timing( "session.destroy", $real );
+ RequestContext::getMain()->getStats()->timing( "session.destroy", 1000 * $real );
return true;
}