jitesoft/stopwatch
最新稳定版本:0.0.2
Composer 安装命令:
composer require jitesoft/stopwatch
包简介
Simple stopwatch for php.
README 文档
README
Basic/naive implementation of a stopwatch using hrtime.
All non nanosecond representations are cast with (int), making them floor to the closest value. toString representation is currently depending on the time elapsed, and if passed 1 on a given unit, it will display that unit with reminder of the value as a decimal.
If you use this package and need exact times, use the nanosecond value of the object.
统计信息
- 总下载量: 45
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-25