our_age 246 lib/cluster/election.c struct timeval our_age; our_age 248 lib/cluster/election.c crm_uptime(&our_age); /* If an error occurred, our_age will be compared as {0,0} */ our_age 250 lib/cluster/election.c if (our_age.tv_sec > your_age.tv_sec) { our_age 251 lib/cluster/election.c crm_debug("Win: %ld vs %ld (seconds)", (long)our_age.tv_sec, (long)your_age.tv_sec); our_age 253 lib/cluster/election.c } else if (our_age.tv_sec < your_age.tv_sec) { our_age 254 lib/cluster/election.c crm_debug("Lose: %ld vs %ld (seconds)", (long)our_age.tv_sec, (long)your_age.tv_sec); our_age 256 lib/cluster/election.c } else if (our_age.tv_usec > your_age.tv_usec) { our_age 258 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 260 lib/cluster/election.c } else if (our_age.tv_usec < your_age.tv_usec) { our_age 262 lib/cluster/election.c (long)our_age.tv_sec, (long)our_age.tv_usec, (long)your_age.tv_sec, (long)your_age.tv_usec);