首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > php 使用Timer 类计算页面运行时间

php 使用Timer 类计算页面运行时间

  • 资源大小:1.54 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: PHP源码

资 源 简 介

php 计算页面运行时间,本程序中使用了PHP中的Timer 类,Timer class, 计算页面运行时间,可按不同key计算不同的运行时间。   函数参数说明:   public start 记录开始时间   public end 记录结束时间   public getTime 计算运行时间   pulbic printTime 输出运行时间   private getKey 获取key   private getMicrotime 获取microtime   使用时,请参考demo.php的用法。

文 件 列 表

codesc.net
php 计算页面运行时间 Timer 类
Timer.class.php
php 计算页面运行时间 Timer 类
php 计算页面运行时间 Timer 类
demo.php
codesc.net
VIP VIP
0.227108s