2
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.
Code:
$XoopsTime = $GLOBAL['xoopsLogger']->dumpTime( 'XOOPS' );
$XoopsQueries = count( $GLOBAL['xoopsLogger']->queries);
'
Page generated $XoopsTime queries - Generation time: ' . sprintf( "%.4f", $XoopsTime ) . ' seconds
' . "\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.