php 使用Timer 类计算页面运行时间.rar
php计算页面运行时间,本程序中使用了PHP中的Timer类,Timerclass,计算页面运行时间,可按不同key计算不同的运行时间。 函数参数说明: publicstart记录开始时间 publicend记录结束时间 publicgetTime计算运行时间 pulbicprintTime输出运行时间 privategetKey获取key privategetMicrotime获取microtime 使用时,请参考demo.php的用法。
下载地址
用户评论