<? require_once("cDebugTime.php"); $debug = new cDebugTime(); ?> <html> <body> <h1>example</h1> <? $debug->setMark("1st mark"); sleep(2); $debug->setMark("2nd mark"); sleep(1); $debug->setMark("3th mark"); print $debug; ?> </body> </html>