dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Don't include the old ExtensionMessages.php when you're building a new one. Otherwise...
[lhc/web/wiklou.git]
/
maintenance
/
dtrace
/
counts.d
1
/*
2
* This software is in the public domain.
3
*
4
* $Id$
5
*/
6
7
#pragma D option quiet
8
9
self int tottime;
10
BEGIN {
11
tottime = timestamp;
12
}
13
14
php$target:::function-entry
15
@counts[copyinstr(arg0)] = count();
16
}
17
18
END {
19
printf("Total time: %dus\n", (timestamp - tottime) / 1000);
20
printf("# calls by function:\n");
21
printa("%-40s %@d\n", @counts);
22
}
23