phpDocumentor CoreAPI
TimerAPI
[ class tree: CoreAPI ] [ index: CoreAPI ] [ all elements ]

Procedural File: timer_api.php

Source Location: /core/timer_api.php

Page Details

--- 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
Classes
Class Description
BC_Timer
Functions
mark_time  [line 34]

void mark_time( $p_marker_name  )

--- 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.

Parameters:
   $p_marker_name: 

Information Tags:
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

[ Top ]


Documentation generated on Sun, 05 Apr 2009 23:01:36 +0100 by phpDocumentor 1.4.1