Lines Matching defs:old
1260 // fields from dirtree leaf nodes. (top diffs old & new array to show changes)
1425 // measurement rather than process start. Stomping old.data is fine
1466 } plist[2], *plold, *plnew, old, new, mix;
1514 // Collate old and new into "mix", depends on /proc read in pid sort order
1515 old = *plold;
1517 mix.tb = xmalloc((old.count+new.count)*sizeof(struct procpid));
1521 while (old.count || new.count) {
1522 struct procpid *otb = old.count ? *old.tb : 0,
1525 // If we just have old for this process, it exited. Discard it.
1526 if (old.count && (!new.count || otb->slot[merge_idx] < ntb->slot[merge_idx])) {
1527 old.tb++;
1528 old.count--;
1534 if (!old.count || otb->slot[merge_idx] > ntb->slot[merge_idx]) mix.tb[mix.count] = ntb;
1537 if (filter(otb->slot, ntb->slot, new.whence-old.whence)) {
1541 old.tb++;
1542 old.count--;
1786 // Compare old and new proces lists to measure changes