* %s8: code de trace eventuel avant le retour
**/
define('CODE_CORPS_BOUCLE', '%s
+ if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
%s
%s$iter->free();
}%s
+ if (defined("_BOUCLE_PROFILER")
+ AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
+ spip_log(intval(1000*$timer)."ms %s","profiler");
return $t0;'
);
$init_lang,
$corps,
$fin_lang,
- $trace
+ $trace,
+ 'BOUCLE'.$id_boucle .' @ '.($boucle->descr['sourcefile'])
);
# var_dump($a);exit;