phpDocumentor log
[ class tree: log ] [ index: log ] [ all elements ]

Class: WindDebug

Source Location: /log/WindDebug.php

Class WindDebug

Class Overview

调试工具

Located in /log/WindDebug.php [line 13]



		
				Author(s):
		
		
		
Information Tags:
Version:  $Id: WindDebug.php 2973 2011-10-15 19:22:48Z yishuo $
Copyright:  ©2003-2103 phpwind.com
License:  http://www.windframework.com

Methods

[ Top ]
Constant Summary

[ Top ]
Method Summary
static void   debug()  
static void   getBreakPoint()   获取调试点
static void   getExecTime()   取得系统运行所耗时间
static float   getExecTimeOfp2p()   调试点之间的系统运行所耗时间
static void   getMemUsage()   取得系统运行所耗内存
static float   getMemUsageOfp2p()   调试点之间系统运行所耗内存
static void   loadFiles()   获取系统所加载的文件
static void   removeBreakPoint()   移除调试点
static void   setBreakPoint()   设置调试点
static array   trace()   堆栈情况

[ Top ]
Methods
static method debug  [line 138]

  static void debug( [ $message = ''], [ $trace = array()], [ $begin = ''], [ $end = '']  )

Parameters:
   $message: 
   $trace: 
   $begin: 
   $end: 

API Tags:
Access:  public


[ Top ]
static method getBreakPoint  [line 79]

  static void getBreakPoint( $point $point, [$label $label = '']  )

获取调试点

Parameters:
$point   $point: 
$label   $label: 

API Tags:
Access:  public


[ Top ]
static method getExecTime  [line 69]

  static void getExecTime( )

取得系统运行所耗时间


API Tags:
Access:  public


[ Top ]
static method getExecTimeOfp2p  [line 103]

  static float getExecTimeOfp2p( string $beginPoint, [string $endPoint = '']  )

调试点之间的系统运行所耗时间

Parameters:
string   $beginPoint:  开始调试点
string   $endPoint:  结束调试点

API Tags:
Access:  public


[ Top ]
static method getMemUsage  [line 61]

  static void getMemUsage( )

取得系统运行所耗内存


API Tags:
Access:  public


[ Top ]
static method getMemUsageOfp2p  [line 90]

  static float getMemUsageOfp2p( string $beginPoint, [string $endPoint = '']  )

调试点之间系统运行所耗内存

Parameters:
string   $beginPoint:  开始调试点
string   $endPoint:  结束调试点

API Tags:
Access:  public


[ Top ]
static method loadFiles  [line 134]

  static void loadFiles( )

获取系统所加载的文件


API Tags:
Access:  public


[ Top ]
static method removeBreakPoint  [line 50]

  static void removeBreakPoint( [string $point = '']  )

移除调试点

Parameters:
string   $point:  调试点

API Tags:
Access:  public


[ Top ]
static method setBreakPoint  [line 39]

  static void setBreakPoint( [string $point = '']  )

设置调试点

Parameters:
string   $point:  调试点

API Tags:
Access:  public


[ Top ]
static method trace  [line 115]

  static array trace( [array $trace = array()]  )

堆栈情况

Parameters:
array   $trace:  堆栈引用,如异常

API Tags:
Access:  public


[ Top ]
Constants
DECIMAL_DIGITS = 4 [line 23]

[ Top ]
MEMORY = 'mem' [line 28]

[ Top ]
RUN_TIME = 'time' [line 33]

[ Top ]

Documentation generated on Fri, 30 Mar 2012 11:43:31 +0800 by phpDocumentor 1.4.4