function GetMicroTime(){
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
return ($mtime);
}
class c_Timer {
var $t_start = 0;
var $t_stop = 0;
var $t_elapsed = 0;
function start() {
$this->t_start = GetMicroTime();}
function stop() {
$this->t_stop = GetMicroTime();}
function elapsed() {
$this->t_elapsed = $this->t_stop - $this->t_start;
return $this->t_elapsed;
}