File: ExcimerLogEntry.php

package info (click to toggle)
php-excimer 1.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 348 kB
  • sloc: ansic: 2,513; xml: 233; php: 82; makefile: 2
file content (45 lines) | stat: -rw-r--r-- 1,274 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php

class ExcimerLogEntry {
	/**
	 * ExcimerLogEntry is not constructible by user code.
	 */
	private final function __construct() {
	}

	/**
	 * Get the time at which the event occurred. This is the floating point
	 * number of seconds since the ExcimerProfiler object was constructed.
	 *
	 * @return float
	 */
	public function getTimestamp() {
	}

	/**
	 * Get the event count represented by this log entry. This will typically
	 * be 1. If there were overruns, it will be 1 plus the number of overruns.
	 *
	 * @return int
	 */
	public function getEventCount() {
	}

	/**
	 * Get an array of associative arrays describing the stack trace at the time
	 * of the event. The first element in the array is the function which was
	 * executing, the second function is the caller (parent) of that function,
	 * and so on. Each element is an associative array with the following
	 * optional fields:
	 *
	 *   - file: The filename in which the function appears
	 *   - line: The exact line number at which the event occurred.
	 *   - class: The class name in which the method is defined
	 *   - function: The name of the function or method
	 *   - closure_line: The line number at which the closure was defined
	 *
	 * @return array
	 */
	public function getTrace() {
	}
}