[TYPO3-dev] timer for debugging

Steffen Ritter info at rs-websystems.de
Tue Mar 9 09:10:01 CET 2010


Sigfried Arnold schrieb:
> Ernesto Baschny [cron IT] schrieb:
>> Sigfried Arnold schrieb am 08.03.2010 15:58:
>> If you read the code, there is no dependency on "TS" if you don't need 
>> it:
>>
>> 1) start() remembers the start time
> 
> 
> well,
> 
> calling t3lib_timetrack::start() does not work.
> 
> seems it won't work since the references are hardcoded to $this-> not to 
> t3lib_timetrack:: or self::
> 
> Fatal error: Call to undefined method tx_example_pi1::mtime() in 
> /var/www/typo3_src/typo3_src-4.2.12/t3lib/class.t3lib_timetrack.php on 
> line 153
> 
> neither if i instantiate it first manualy
> 
> suggestions? ;)
> 
> regards,
> Sigfried Arnold
$GLOBALS['TT']->start()




More information about the TYPO3-dev mailing list