mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
add per-thread stats
Original commit message from CVS: add per-thread stats
This commit is contained in:
parent
3cfdcab18b
commit
768037487d
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue