comparison fft/fftw/fftw-3.3.4/libbench2/ovtpvt.c @ 19:26056e866c29

Add FFTW to comparison table
author Chris Cannam
date Tue, 06 Oct 2015 13:08:39 +0100
parents
children
comparison
equal deleted inserted replaced
18:8db794ca3e0b 19:26056e866c29
1 #include <stdlib.h>
2 #include <stdio.h>
3 #include <stdarg.h>
4 #include "bench.h"
5
6 void ovtpvt(const char *format, ...)
7 {
8 va_list ap;
9
10 va_start(ap, format);
11 if (verbose >= 0)
12 vfprintf(stdout, format, ap);
13 va_end(ap);
14 fflush(stdout);
15 }
16
17 void ovtpvt_err(const char *format, ...)
18 {
19 va_list ap;
20
21 va_start(ap, format);
22 if (verbose >= 0) {
23 fflush(stdout);
24 vfprintf(stderr, format, ap);
25 }
26 va_end(ap);
27 fflush(stdout);
28 }