--- BC Timer ------- USAGE: set $g_debug_timer to ON and just call mark_time( 'token name' ); where 'token name' is descriptive of what is happening at that point
Normally you would mark_time() before and after a critical section of code that you are timing. Remember to test more than once since various factors can affect actual runtime.
| Author: | Charles Killian, modified by Kenzaburo Ito |
| Copyright: | Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org |
| Copyright: | Copyright (C) 2002 - 2009 MantisBT Team - mantisbt-dev@lists.sourceforge.net |
| Link: | http://www.mantisbt.org |