Posted on: 2010/6/12 0:29
Re: Execution Time in theme ?
This might help as it is all the info you will need, but how you implement it, is up to you. It should be a starting point.
$XoopsTime = $GLOBAL['xoopsLogger']->dumpTime( 'XOOPS' );
$XoopsQueries = count( $GLOBAL['xoopsLogger']->queries);
'<p align="center">Page generated <span style="color:#ff0000;">$XoopsTime</span> queries - Generation time: <span style="color:#ff0000;">' . sprintf( "%.4f", $XoopsTime ) . '</span> seconds</p>' . "\n";
I added this into Zarilia/Xoosla and it requires code changes to the core files, if you email me I will update it for Xoops and send you the code.