Mercurial > hg > js-dsp-test
view fft/fftw/fftw-3.3.4/libbench2/ovtpvt.c @ 26:9af60df83c6f
Adjust inputs so as to get a nice round number as output
author | Chris Cannam |
---|---|
date | Wed, 07 Oct 2015 13:59:09 +0100 |
parents | 26056e866c29 |
children |
line wrap: on
line source
#include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include "bench.h" void ovtpvt(const char *format, ...) { va_list ap; va_start(ap, format); if (verbose >= 0) vfprintf(stdout, format, ap); va_end(ap); fflush(stdout); } void ovtpvt_err(const char *format, ...) { va_list ap; va_start(ap, format); if (verbose >= 0) { fflush(stdout); vfprintf(stderr, format, ap); } va_end(ap); fflush(stdout); }