From e9285d0cdea756a2830f0ace378e4197b36869aa Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Fri, 12 Jun 2020 01:44:56 +0000 Subject: Add initial instrumentation to and fix warnings in DIS stressmarks Changes: - Backpoint fix to randInt range - Instrument benchmarks with time tracking - assert inputs are correct length to fix compiler warnings Problems: - Timing on a per-loop basis is non representative of real-world workloads, as we clear the cache after every loop. These all need to be re-instrumented to record times for the whole benchmark, rather than per-loop. --- dis/original/Transitive/transitive.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'dis/original/Transitive') diff --git a/dis/original/Transitive/transitive.c b/dis/original/Transitive/transitive.c index ca16a31..5fa52e8 100644 --- a/dis/original/Transitive/transitive.c +++ b/dis/original/Transitive/transitive.c @@ -11,6 +11,9 @@ * read the Benchmark Analysis and Specifications Document Version 1.0 * before going on since the detailed comments are given in this documents. * the comments are not repeated here. + * + * CHANGELOG: + * Joshua Bakita, 05/30/2020: Fixed out-of-bounds randInt call */ #include @@ -64,8 +67,8 @@ int main(int argc, char** argv){ randInit(seed); for (k=0; k