Displaying 1 result from an estimated 1 matches for "lastcount".
2005 Jun 09
1
Zap Clocking - Frame Slips - tdm400p wcfxo zttest cpu spikes spandsp
...de <unistd.h>
#include <errno.h>
#include <string.h>
#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 o...