g_hash_table_foreach(tmp->perf, copy_perf_counter, new->perf);
new->iostream = g_new0(struct iostream, 1);
memcpy(new->iostream, tmp->iostream, sizeof(struct iostream));
/* compute the stream speed */
g_hash_table_foreach(tmp->perf, copy_perf_counter, new->perf);
new->iostream = g_new0(struct iostream, 1);
memcpy(new->iostream, tmp->iostream, sizeof(struct iostream));
/* compute the stream speed */