Commit 76803748 authored by Andy Wingo Wingo's avatar Andy Wingo Wingo

add per-thread stats

Original commit message from CVS:
add per-thread stats
parent 3cfdcab1
......@@ -204,11 +204,11 @@ main (gint argc, gchar * argv[])
g_print ("%d alloc+frees X %d threads\n", num_allocs, num_threads);
time = run_test (gmemchunk_alloc, gmemchunk_free);
g_print ("%fs - GMemChunk\n", time);
g_print ("%fs (%fs/thread) - GMemChunk\n", time, time / num_threads);
time = run_test (gstmemchunk_alloc, gstmemchunk_free);
g_print ("%fs - GstMemChunk\n", time);
g_print ("%fs (%fs/thread) - GstMemChunk\n", time, time / num_threads);
time = run_test (normal_alloc, normal_free);
g_print ("%fs - g_malloc/g_free\n", time);
g_print ("%fs (%fs/thread) - g_malloc/g_free\n", time, time / num_threads);
/* g_mem_chunk_info (); */
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment