UDebug can be used to generate XML reports from PHP script execution. UDebug is a free PHP debug script.
It can keep track of the time when PHP executed certain sections of a PHP script.
This script can generate a XML document with the information of when PHP started and ended executing each section.
Requirement: PHP 5.2 or higher