Merge "Add .pipeline/ with dev image variant"
[lhc/web/wiklou.git] / .phan / stubs / excimer.php
1 <?php
2
3 // phpcs:ignoreFile
4
5 define( 'EXCIMER_REAL', 0 );
6 define( 'EXCIMER_CPU', 1 );
7
8 class ExcimerProfiler {
9 public function __construct() {
10 }
11 public function setPeriod( $period ) {
12 }
13 public function setEventType( $event_type ) {
14 }
15 public function setMaxDepth( $maxDepth ) {
16 }
17 public function setFlushCallback( $callback, $max_samples ) {
18 }
19 public function clearFlushCallback() {
20 }
21 public function start() {
22 }
23 public function stop() {
24 }
25 public function getLog() : ExcimerLog {
26 }
27 public function flush() {
28 }
29 }
30
31 class ExcimerLog {
32 private final function __construct() {
33 }
34 function formatCollapsed() {
35 }
36 /**
37 * @return array[]
38 */
39 function aggregateByFunction() {
40 }
41 /**
42 * @return int
43 */
44 function getEventCount() {
45 }
46 function current() {
47 }
48 function key() {
49 }
50 function next() {
51 }
52 function rewind() {
53 }
54 function valid() {
55 }
56 function count() {
57 }
58 function offsetExists( $offset ) {
59 }
60 function offsetGet( $offset ) {
61 }
62 function offsetSet( $offset, $value ) {
63 }
64 function offsetUnset( $offset ) {
65 }
66
67 }
68
69 class ExcimerLogEntry {
70 private final function __construct() {
71 }
72 function getTimestamp() {
73 }
74 function getEventCount() {
75 }
76 function getTrace() {
77 }
78 }
79
80 class ExcimerTimer {
81 function setEventType( $event_type ) {
82 }
83 function setInterval( $interval ) {
84 }
85 function setPeriod( $period ) {
86 }
87 function setCallback( $callback ) {
88 }
89 function start() {
90 }
91 function stop() {
92 }
93 function getTime() {
94 }
95 }