PHP-Code:
<?
$a=0;
// start time
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$starttime = $mtime;
while($a<100000)
$a++;
// end time
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$endtime = $mtime;
$total = $endtime-$starttime;
echo (100/$total).'Mhz'; // displays mhz of machine
?>
du kannst die zahl in der while-schleife natürlich noch erhöhen...
willst du dich bei deinem anbieter rächen oder warum suchst du so ein script?