Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncphp
/
mcClasses
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b0650953
authored
Jul 10, 2011
by
Frederick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Performance
1 parent
ba59200e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
class_mcPerformance.inc.php
doOnTheEnd.php
include.php
class_mcPerformance.inc.php
View file @
b065095
...
@@ -117,7 +117,8 @@ class mcPerformance {
...
@@ -117,7 +117,8 @@ class mcPerformance {
foreach
(
mcPerformance
::
$StaticCalls
as
$classname
=>
$fnc
)
{
foreach
(
mcPerformance
::
$StaticCalls
as
$classname
=>
$fnc
)
{
D
::
li
(
'<b>'
.
$classname
.
'</b>'
);
D
::
li
(
'<b>'
.
$classname
.
'</b>'
);
foreach
(
$fnc
as
$fncname
=>
$FncCalls
)
{
foreach
(
$fnc
as
$fncname
=>
$FncCalls
)
{
D
::
ulli
(
'<b>'
.
$fncname
.
' with '
.
count
(
$FncCalls
)
.
' different fnc calls </b>'
);
$count_diff_FncCalls
=
count
(
$FncCalls
);
D
::
ulli
(
'<b>'
.
$fncname
.
' with '
.
$count_diff_FncCalls
.
' different fnc calls </b>'
);
$allFncCalls
=
0
;
$allFncCalls
=
0
;
foreach
(
$FncCalls
as
$FncCall
)
{
foreach
(
$FncCalls
as
$FncCall
)
{
$backtraceString
=
''
;
$backtraceString
=
''
;
...
@@ -140,7 +141,7 @@ class mcPerformance {
...
@@ -140,7 +141,7 @@ class mcPerformance {
D
::
ulli
(
'<i>'
.
$fncname
.
'('
.
$string4param
.
') wurde '
.
$FncCall
[
'count'
]
.
' aufgerufen</i>'
.
' backtrace '
.
$backtraceString
);
D
::
ulli
(
'<i>'
.
$fncname
.
'('
.
$string4param
.
') wurde '
.
$FncCall
[
'count'
]
.
' aufgerufen</i>'
.
' backtrace '
.
$backtraceString
);
$allFncCalls
+=
$FncCall
[
'count'
];
$allFncCalls
+=
$FncCall
[
'count'
];
}
}
D
::
ulli
(
'<b>'
.
$fncname
.
' general: '
.
$allFncCalls
.
' </b>'
);
D
::
ulli
(
'<b>'
.
$fncname
.
' general: '
.
$allFncCalls
.
'
(zu '
.
$count_diff_FncCalls
.
')
</b>'
);
}
}
}
}
...
...
doOnTheEnd.php
View file @
b065095
...
@@ -13,6 +13,7 @@ mcReport::distribute($__mc_Report);
...
@@ -13,6 +13,7 @@ mcReport::distribute($__mc_Report);
* developer things
* developer things
*/
*/
if
(
$_LOSP_DEV
)
{
if
(
$_LOSP_DEV
)
{
mcPerformance
::
showStats
();
D
::
showStats
(
$__mc_Report
,
$__BASEPATH_EX
,
$__mc_D_LOGFILE
);
D
::
showStats
(
$__mc_Report
,
$__BASEPATH_EX
,
$__mc_D_LOGFILE
);
if
(
$__mc_D_SCREENOUTPUT
)
{
if
(
$__mc_D_SCREENOUTPUT
)
{
D
::
printToScreen
();
D
::
printToScreen
();
...
...
include.php
View file @
b065095
...
@@ -12,6 +12,9 @@ require_once $__PATH_to_mcClasses . 'class_mcFile.inc.php';
...
@@ -12,6 +12,9 @@ require_once $__PATH_to_mcClasses . 'class_mcFile.inc.php';
require_once
$__PATH_to_mcClasses
.
'class_mcCONST.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcCONST.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcCsv.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcCsv.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcDeprecated.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcDeprecated.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcArray.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcDate.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'ReportHandling/class_mcReport.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'ReportHandling/class_mcReport.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'ReportHandling/class_Error.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'ReportHandling/class_Error.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'ReportHandling/class_Message.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'ReportHandling/class_Message.inc.php'
;
...
@@ -20,6 +23,12 @@ require_once $__PATH_to_mcClasses . 'ReportHandling/class_mcEvent.inc.php';
...
@@ -20,6 +23,12 @@ require_once $__PATH_to_mcClasses . 'ReportHandling/class_mcEvent.inc.php';
require_once
$__PATH_to_mcClasses
.
'D/class_D.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'D/class_D.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcException.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcException.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcPerformance.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcPerformance.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcCrypt.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcString.inc.php'
;
require_once
$__PATH_to_mcClasses
.
'class_mcNumber.inc.php'
;
//require_once $__PATH_to_mcClasses . 'class_.inc.php';
//require_once $__PATH_to_mcClasses . 'class_.inc.php';
//require_once $__PATH_to_mcClasses . 'class_.inc.php';
require_once
$__PATH_to_mcClasses
.
'finance/class_mcZinsmethoden.inc.php'
;
?>
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment