goto err;
}
}
+ update_hist = 1;
break;
case EDG_WLL_JOB_DONE:
if (load_parent_intJobStat(ctx, cis, &pis)) goto err;
}
}
}
+ update_hist = 1;
break;
case EDG_WLL_JOB_CLEARED:
if (load_parent_intJobStat(ctx, cis, &pis)) goto err;
}
}
}
+ update_hist = 1;
break;
default:
if (load_parent_intJobStat(ctx, cis, &pis)) goto err;
- pis->pub.children_hist[EDG_WLL_JOB_UNDEF+1]++;
+ pis->pub.children_hist[EDG_WLL_JOB_UNKNOWN+1]++;
// update_hist = 1; - triggered by the next case or not needed
break;
}
break;
default:
if (load_parent_intJobStat(ctx, cis, &pis)) goto err;
- pis->pub.children_hist[EDG_WLL_JOB_UNDEF+1]--;
+ pis->pub.children_hist[EDG_WLL_JOB_UNKNOWN+1]--;
// update_hist = 1; - triggered by the previous case or not needed
break;
}
case EDG_WLL_REGJOB_DAG:
case EDG_WLL_REGJOB_PARTITIONED:
js->pub.jobtype = EDG_WLL_STAT_DAG;
+ js->pub.children_hist[EDG_WLL_JOB_UNKNOWN+1] = js->pub.children_num;
break;
case EDG_WLL_REGJOB_COLLECTION:
js->pub.jobtype = EDG_WLL_STAT_COLLECTION;
+ js->pub.children_hist[EDG_WLL_JOB_UNKNOWN+1] = js->pub.children_num;
break;
default:
break;