search for: t_usec

Displaying 1 result from an estimated 1 matches for "t_usec".

Did you mean: tv_usec
2005 Jun 09
1
Zap Clocking - Frame Slips - tdm400p wcfxo zttest cpu spikes spandsp
...#include <fcntl.h> #include <sys/time.h> #include <sys/signal.h> #include <math.h> int main(int argc, char *argv[]) { int fd; int res; int count=0; int pass=1; int lastcount; char buf[1024]; float score; float t_usec; float t_sec; float t_intervals; float sf; struct timeval start, now; fd = open("/dev/zap/pseudo", O_RDWR); if (fd < 0) { fprintf(stderr, "Unable to open zap interface: %s\n", strerror(errno)); ex...