linux/lib/dhry_run.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Dhrystone benchmark test module
 *
 * Copyright (C) 2022 Glider bv
 */

#include "dhry.h"

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/smp.h>

#define DHRY_VAX

static int dhry_run_set(const char *val, const struct kernel_param *kp);
static const struct kernel_param_ops run_ops =;
static bool dhry_run;
module_param_cb();
MODULE_PARM_DESC();

static int iterations =;
module_param(iterations, int, 0644);
MODULE_PARM_DESC();

static void dhry_benchmark(void)
{}

static int dhry_run_set(const char *val, const struct kernel_param *kp)
{}

static int __init dhry_init(void)
{}
module_init();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();