if (!flow)
return;
+ flow->pos_pins = 0;
+ flow->neg_pins = 0;
+
flow->pos_r = 0;
flow->pos_jr = 0;
for (j = 0; j < path->pins->size; j++) {
p = path->pins->data[j];
+ ++flow->pos_pins;
+
if (p->lid == vip->lid) {
vip = path->pins->data[0];
continue;
}
+ ++flow->neg_pins;
+
if (p->sr != p->pr) {
flow->neg_r += p->sr - p0->pr;
flow->neg_r, vip->cid, vip->id, vip->sr, p0->cid, p0->id, p0->pr);
}
- scf_loge("flow->pos_r: %lg, flow->neg_r: %lg, flow->vip: c%ldp%ld\n", flow->pos_r, flow->neg_r, flow->vip->cid, flow->vip->id);
+ scf_loge("flow pos_pins: %d, neg_pins: %d, pos_r: %lg, neg_r: %lg, vip: c%ldp%ld\n",
+ flow->pos_pins, flow->neg_pins, flow->pos_r, flow->neg_r, flow->vip->cid, flow->vip->id);
}
void ses_flow_print(ses_flow_t* flow)