timeelapsed
if (!timeelapsed(&sc->lastinputerr, psmerrsecs, psmerrusecs,
!timeelapsed(&sc->lastsoftintr, psmsecs, psmusecs, &now) ||
static int timeelapsed(const struct timeval *, int, int,