<?php
require_once("TimeConsumer.php");
TimeConsumer::setTimeZone('Asia/Shanghai');
// TimeConsumer::setTimeZone('Europe/Paris');
TimeConsumer::microTimeStart();
TimeConsumer::startTimePrintOut("Cron script");
// wait for 1 seconds
usleep(1000000);
TimeConsumer::startTimePrintOut("ftp start");
usleep(500000);
TimeConsumer::endTimePrintOut("ftp end");
TimeConsumer::printOut();
TimeConsumer::startTimePrintOut(__FILE__);
TimeConsumer::endTimePrintOut(__FILE__);
?>
|