#include "../perf.h"
#include "../util/util.h"
#include "../util/parse-options.h"
#include "../util/header.h"
#include "bench.h"
#include "mem-memset-arch.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <errno.h>
Go to the source code of this file.
|
#define | K 1024 |
|
#define | pf (no_prefault ? 0 : 1) |
|
#define | print_bps(x) |
|
#define pf (no_prefault ? 0 : 1) |
Value:do { \
printf(
" %14lf B/Sec",
x); \
printf(
" %14lfd KB/Sec",
x / K); \
else
if (
x < K * K * K) \
printf(
" %14lf MB/Sec",
x / K / K);
\
printf(
" %14lf GB/Sec",
x / K / K / K); \
} while (0)
Definition at line 162 of file mem-memset.c.