our_age 251 lib/cluster/election.c struct timeval our_age; our_age 253 lib/cluster/election.c get_uptime(&our_age); /* If an error occurred, our_age will be compared as {0,0} */ our_age 255 lib/cluster/election.c if (our_age.tv_sec > your_age.tv_sec) { our_age 256 lib/cluster/election.c crm_debug("Win: %ld vs %ld (seconds)", (long)our_age.tv_sec, (long)your_age.tv_sec); our_age 258 lib/cluster/election.c } else if (our_age.tv_sec < your_age.tv_sec) { our_age 259 lib/cluster/election.c crm_debug("Lose: %ld vs %ld (seconds)", (long)our_age.tv_sec, (long)your_age.tv_sec); our_age 261 lib/cluster/election.c } else if (our_age.tv_usec > your_age.tv_usec) { our_age 263 lib/cluster/election.c (long)our_age.tv_sec, (long)our_age.tv_usec, (long)your_age.tv_sec, (long)your_age.tv_usec); our_age 265 lib/cluster/election.c } else if (our_age.tv_usec < your_age.tv_usec) { our_age 267 lib/cluster/election.c (long)our_age.tv_sec, (long)our_age.tv_usec, (long)your_age.tv_sec, (long)your_age.tv_usec);