PHPの処理時間を計測して、その結果を最上部に表示させたいのですが、
できますでしょうか?

require_once "Timer.php";//クラスのロード
$timer = new Benchmark_Timer;
$timer->start();

for($i=0;$i<20;){
$i++;
print "{$i}回目 計測中...<br>";
}

$timer->stop();
$profile = $timer->getProfiling();

echo "<h1>処理時間 {$profile[1][diff]}秒</h1>"; //結果表示