bench.h (597473720f4dc69749542bfcfed4a927a43d935e) bench.h (e4d9b04b973b2dbce7b42af95ea70d07da1c936d)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef BENCH_H
3#define BENCH_H
4
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef BENCH_H
3#define BENCH_H
4
5#include <sys/time.h>
6
7extern struct timeval bench__start, bench__end, bench__runtime;
8
5/*
6 * The madvise transparent hugepage constants were added in glibc
7 * 2.13. For compatibility with older versions of glibc, define these
8 * tokens if they are not already defined.
9 *
10 * PA-RISC uses different madvise values from other architectures and
11 * needs to be special-cased.
12 */

--- 53 unchanged lines hidden ---
9/*
10 * The madvise transparent hugepage constants were added in glibc
11 * 2.13. For compatibility with older versions of glibc, define these
12 * tokens if they are not already defined.
13 *
14 * PA-RISC uses different madvise values from other architectures and
15 * needs to be special-cased.
16 */

--- 53 unchanged lines hidden ---