mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
working nspr slimmed down build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4914 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
fcd2da0d39
commit
f4820a6b31
13 files changed
+24
-143
No files matched your search
@@ -59,7 +59,7 @@ INCLUDES = -I$(dist_includedir) -I$(topsrcdir)/pr/include -I$(topsrcdir)/pr/incl
|
||||
|
||||
DEFINES += -D_NSPR_BUILD_
|
||||
|
||||
CSRCS = prmalloc.c prmem.c
|
||||
CSRCS = prmem.c
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
||||
@@ -210,25 +210,6 @@ loser:
|
||||
return;
|
||||
}
|
||||
|
||||
PR_IMPLEMENT(void)
|
||||
PR_FPrintZoneStats(PRFileDesc *debug_out)
|
||||
{
|
||||
int i, j;
|
||||
|
||||
for (j = 0; j < THREAD_POOLS; j++) {
|
||||
for (i = 0; i < MEM_ZONES; i++) {
|
||||
MemoryZone *mz = &zones[i][j];
|
||||
MemoryZone zone = *mz;
|
||||
if (zone.elements || zone.misses || zone.hits) {
|
||||
PR_fprintf(debug_out,
|
||||
"pool: %d, zone: %d, size: %d, free: %d, hit: %d, miss: %d, contend: %d\n",
|
||||
j, i, zone.blockSize, zone.elements,
|
||||
zone.hits, zone.misses, zone.contention);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void *
|
||||
pr_ZoneMalloc(PRUint32 size)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user