[llvm-commits] CVS: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/malloc.c
Chris Lattner
lattner at cs.uiuc.edu
Mon Apr 5 11:27:04 PDT 2004
Changes in directory llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl:
malloc.c updated: 1.1 -> 1.2
---
Log message:
Disable the custom allocator that is really buggy
---
Diffs of the changes: (+6 -2)
Index: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/malloc.c
diff -u llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/malloc.c:1.1 llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/malloc.c:1.2
--- llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/malloc.c:1.1 Tue Feb 17 16:21:16 2004
+++ llvm/test/Programs/MultiSource/Benchmarks/MallocBench/perl/malloc.c Mon Apr 5 11:26:28 2004
@@ -1,6 +1,9 @@
-/* $RCSfile: malloc.c,v $$Revision: 1.1 $$Date: 2004/02/17 22:21:16 $
+/* $RCSfile: malloc.c,v $$Revision: 1.2 $$Date: 2004/04/05 16:26:28 $
*
* $Log: malloc.c,v $
+ * Revision 1.2 2004/04/05 16:26:28 lattner
+ * Disable the custom allocator that is really buggy
+ *
* Revision 1.1 2004/02/17 22:21:16 criswell
* Initial commit of the perl Malloc Benchmark. I've cheated a little by
* generating the yacc output files and committing them directly, but it was
@@ -14,7 +17,7 @@
*
*/
-#ifndef lint
+#if 0
static char sccsid[] = "@(#)malloc.c 4.3 (Berkeley) 9/16/83";
#ifdef DEBUGGING
@@ -132,6 +135,7 @@
/* apart from this loop, this is O(1) */
while (shiftr >>= 1)
bucket++;
+ printf("NB: %d %d\n", nbytes, bucket);
/*
* If nothing in hash bucket right now,
* request more memory from the system.
More information about the llvm-commits
mailing list