Mercurial > hg > sv-dependency-builds
comparison src/fftw-3.3.3/libbench2/ovtpvt.c @ 10:37bf6b4a2645
Add FFTW3
author | Chris Cannam |
---|---|
date | Wed, 20 Mar 2013 15:35:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9:c0fb53affa76 | 10:37bf6b4a2645 |
---|---|
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 } |