projects
/
p5sagit/Devel-Size.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d426661
)
Count PerlInterpreter when applicable
Florian Ragwitz [Mon, 1 Oct 2012 02:19:13 +0000 (11:19 +0900)]
Memory.xs
patch
|
blob
|
blame
|
history
diff --git
a/Memory.xs
b/Memory.xs
index
30f8c9e
..
bf4791c
100644
(file)
--- a/
Memory.xs
+++ b/
Memory.xs
@@
-1421,7
+1421,9
@@
perl_size(pTHX_ struct state *const st, pPATH)
/* if(!check_new(st, interp)) return; */
NPathPushNode("perl", NPtype_NAME);
-
+#if defined(MULTIPLICITY)
+ ADD_SIZE(st, "PerlInterpreter", sizeof(PerlInterpreter));
+#endif
/*
* perl
* PL_defstash