From 8c235ce57600584d3126ad86520b4fb44765c8ec Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 14 Mar 2007 16:13:33 +0000 Subject: 2007-03-14 Martin Hunt * bench2/bench.rb: Updated to work with new transport and new itest.c. * bench2/Makefile: Updated for new itest.c * bench2/itest.c: Rewritten to use multiple threads and automatically divide the workload among the threads. * print.c (_stp_print_flush): Move to print_new.c and print_old.c. * print_new.c: New file containing _stp_print_flush() for the new transport. * print_old.c: Ditto for old transport. * runtime.h (STP_OLD_TRANSPORT): Define (errk): Define. (MAXSTRINGLEN): Define if not already defined. * io.c (_stp_vlog): Use _stp_ctl_write(). --- runtime/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/map.c') diff --git a/runtime/map.c b/runtime/map.c index dfef2f73..5748c797 100644 --- a/runtime/map.c +++ b/runtime/map.c @@ -217,7 +217,7 @@ static int _stp_map_init(MAP m, unsigned max_entries, int type, int key_size, in else _stp_allocated_memory += size * num_online_cpus(); - dbug ("allocated %lx\n", (long)tmp); +// dbug ("allocated %lx\n", (long)tmp); list_add((struct list_head *)tmp, &m->pool); ((struct map_node *)tmp)->map = m; } -- cgit