[ Indice ]

Riferimento incrociato di Joomla! 1.5.14 - VM 1.1.4

Servizio fornito da VMItalia
Classe:   Funzione:   Variabile:   Costante:  
Storico Ricerche +

titolo

Corpo

[chiudi]

/libraries/joomla/error/ -> profiler.php (sommario)

(nessuna descrizione)

Copyright: Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: profiler.php 10707 2008-08-21 09:52:47Z eddieajau $
Dimensione file: 170 righe (4 kb)
Incluso o richiesto:0 volte
Referenziato: 0 volte
Inclusioni o richieste: 0 files

Definisce 1 classe

JProfiler:: (6 metodi):
  __construct()
  getInstance()
  mark()
  getmicrotime()
  getMemory()
  getBuffer()


Classe: JProfiler  - X-Ref

Utility class to assist in the process of benchmarking the execution
of sections of code to understand where time is being spent.

__construct( $prefix = '' )   X-Ref
Constructor

param: string Prefix for mark messages

getInstance($prefix = '')   X-Ref
Returns a reference to the global Profiler object, only creating it
if it doesn't already exist.

This method must be invoked as:
<pre>  $browser = & JProfiler::getInstance( $prefix );</pre>

param: string Prefix used to distinguish profiler objects.
return: JProfiler  The Profiler object.

mark( $label )   X-Ref
Output a time mark

The mark is returned as text enclosed in <div> tags
with a CSS class of 'profiler'.

param: string A label for the time mark
return: string Mark enclosed in <div> tags

getmicrotime()   X-Ref
Get the current time.

return: float The current time

getMemory()   X-Ref
Get information about current memory usage.

return: int The memory usage

getBuffer()   X-Ref
Get all profiler marks.

Returns an array of all marks created since the Profiler object
was instantiated.  Marks are strings as per {@link JProfiler::mark()}.

return: array Array of profiler marks



Generato il: Mon Oct 19 20:29:27 2009 Generato con PHPXref 0.7