#include #include void timeratio_() { /* three invocations produce the ratio of the timedifference of the 3rd vs. the 2nd invocation over the difference of the 2nd vs. the 1st invocation */ static short stage=0; #define tvCount 3 static struct timeval tv_a[tvCount]; double deltaThis, deltaPrevious; if (stage0) { printf("OAD: TIMING: delta stamps %u-%u: %lu.%06lu\n", stage, stage-1, (tv_a[stage].tv_usec1) { printf("OAD: TIMING: delta stamps %u-%u: %lu.%06lu\n", stage, 0, (tv_a[stage].tv_usec1) { deltaThis=(tv_a[stage].tv_usec