yet again a class like this. be careful using this because it doesn't measure the overhead of every php file. so you can't really test your script on performance.
for this try XDebug: trace and profile your scripts. this gives you the >real< costs of every single line.