Overview

Namespaces

  • Jyxo
    • Beholder
      • TestCase
    • Gettext
      • Parser
    • Input
      • Chain
      • Filter
      • Validator
    • Mail
      • Email
        • Attachment
      • Parser
      • Sender
    • Rpc
      • Json
      • Xml
    • Shell
    • Spl
    • Svn
    • Time
    • Webdav
  • PHP

Classes

  • Charset
  • Color
  • Css
  • ErrorHandler
  • ErrorMail
  • FirePhp
  • Html
  • HtmlTag
  • SpamFilter
  • String
  • Timer
  • XmlReader

Exceptions

  • Exception
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated

Class Timer

Timer for debugging purposes. Allows measuring multiple events simultaneously.

Final
Namespace: Jyxo
Category: Jyxo
Package: Jyxo\Timer
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Štěpán Svoboda
Author: Matěj Humpál
Located at Timer.php
Methods summary
public static string
# start( string $name = '' )

Starts measuring. Returns timer name.

Starts measuring. Returns timer name.

Parameters

$name
string
Custom timer name

Returns

string
public static float
# stop( string $name )

Returns the time difference in seconds.

Returns the time difference in seconds.

Parameters

$name
string
Timer name

Returns

float
public static float
# timer( )

Returns the time form the last function call. In case of first function call, function returns 0.

Returns the time form the last function call. In case of first function call, function returns 0.

Returns

float
Jyxo PHP Library API documentation generated by ApiGen 2.3.0