From 6ea9939e0610a809f6f47d13ec68df00d1ca0afc Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Fri, 16 Oct 2020 16:55:14 -0400 Subject: Move the DIS benchmarks up a directory and update hardcoded paths Note that this repo does not attempt to keep a copy of the original DIS benchmark distributions. UNC real-time has another repo for that. --- dis/gen_input.py | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100755 dis/gen_input.py (limited to 'dis/gen_input.py') diff --git a/dis/gen_input.py b/dis/gen_input.py new file mode 100755 index 0000000..c7821b0 --- /dev/null +++ b/dis/gen_input.py @@ -0,0 +1,113 @@ +#!/usr/bin/python3 +##### +# Copyright 2020 Joshua Bakita +# +# This program generates input data for the DIS benchmark suite on stdout +# given a requested working set size. +##### + + +from ctypes import sizeof, c_double, c_int, c_short +from math import sqrt, floor +import sys # For argv and stderr + +USAGE = """Usage: {}