projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add interface PlIteraface and the corresponding abstract class
[platal.git]
/
classes
/
plprofiler.php
diff --git
a/classes/plprofiler.php
b/classes/plprofiler.php
index
3b66426
..
5585aeb
100644
(file)
--- a/
classes/plprofiler.php
+++ b/
classes/plprofiler.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-20
07
Polytechnique.org *
+ * Copyright (C) 2003-20
10
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-34,6
+34,12
@@
class PlProfiler
return true;
}
return true;
}
+ static public function step($name, $info = "action")
+ {
+ PlProfiler::stop($name);
+ PlProfiler::start($name, $info);
+ }
+
static public function stop($name)
{
global $globals;
static public function stop($name)
{
global $globals;