Updates
This commit is contained in:
28
fftw-3.3.10/libbench2/ovtpvt.c
Normal file
28
fftw-3.3.10/libbench2/ovtpvt.c
Normal file
@@ -0,0 +1,28 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include "libbench2/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);
|
||||
}
|
||||
Reference in New Issue
Block a user