Location: PHPKode > scripts > Cronometro > cronometro/sample.php
<?php

    include("cronometro.php");
    
    	
	/* Creating object*/
	$cron = new cronometro();
	
	/* Emulating any */
	for ($i=0; $i<90000; $i++){
		$j=0;
	}		
	
	/* Setting the message*/
	$cron->setMsg("Esta pagina se cargo en : %s segundos");
	
	/* Setting the decimal */
	$cron->setDec(7);
	
	/* Show result*/
	$cron->show();
	
	/* Finish sample */

?>
Return current item: Cronometro