our_age 252 lib/cluster/election.c struct timeval our_age; our_age 254 lib/cluster/election.c get_uptime(&our_age); /* If an error occurred, our_age will be compared as {0,0} */ our_age 256 lib/cluster/election.c if (our_age.tv_sec > your_age.tv_sec) { our_age 257 lib/cluster/election.c crm_debug("Win: %ld vs %ld (seconds)", (long)our_age.tv_sec, (long)your_age.tv_sec); our_age 259 lib/cluster/election.c } else if (our_age.tv_sec < your_age.tv_sec) { our_age 260 lib/cluster/election.c crm_debug("Lose: %ld vs %ld (seconds)", (long)our_age.tv_sec, (long)your_age.tv_sec); our_age 262 lib/cluster/election.c } else if (our_age.tv_usec > your_age.tv_usec) { our_age 264 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 266 lib/cluster/election.c } else if (our_age.tv_usec < your_age.tv_usec) { our_age 268 lib/cluster/election.c (long)our_age.tv_sec, (long)our_age.tv_usec, (long)your_age.tv_sec, (long)your_age.tv_usec);