Add time stats also for thread scheduling

This commit is contained in:
Andrea Mazzoleni 2016-01-31 16:38:29 +01:00
parent c1993e0abb
commit 4a418e158a
5 changed files with 34 additions and 0 deletions

View file

@ -772,6 +772,9 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
if (blockcur >= blockmax)
break;
/* until now is scheduling */
state_usage_sched(state);
/* one more block processed for autosave */
++autosavedone;
--autosavemissing;