summaryrefslogtreecommitdiffstats
path: root/extra.h
Commit message (Collapse)AuthorAge
* Fix arguments for paired tasksJoshua Bakita2020-10-23
|
* Set exec_cost to a valid value in libextraJoshua Bakita2020-10-23
|
* Transform LITMUS-RT support in libextra to imply case-study modeJoshua Bakita2020-10-22
| | | | | | | | | | | Adds <period> and <criticality level> parameters to benchmarks and disables cache flushing when compiled with LITMUS. Also fixes build with LITMUS enabled on yamaha.cs.unc.edu. Also allows output to be disabled, automatically infers _rt_lock_id, and allows for a specific pair ID for paired tasks. (The pair ID is added to all the semaphore and shared memory names, allowing multiple pairs to run in the system at a time.)
* Make SD-VBS compatible with run_bench.sh and cleanupJoshua Bakita2020-10-22
| | | | | | | | | | | | | | | | SD-VBS: - Run silently - Fix some whitespace errors - Don't duplicate extra.h - Auto-detect if building with LITMUS-RT - Disable result checking - Add helper symlinks Misc: - Remove unused code from libextra - Set some missing rt_param fields in libextra - Disable CSV info dump from computeSMTslowdown.sh - Widen scope of .gitignore on .txt files - Include list of 2MB DIS pair benchmarks and inputs
* Squashed commit of the sb-vbs branch.Leo Chan2020-10-22
| | | | | | | | | | | Includes the SD-VBS benchmarks modified to: - Use libextra to loop as realtime jobs - Preallocate memory before starting their main computation - Accept input via stdin instead of via argc Does not include the SD-VBS matlab code. Fixes libextra execution in LITMUS^RT.
* Fix infinite looping with libextraJoshua Bakita2020-10-21
|
* Whitespace fixes for TACLeBench and copyright update in extra.hJoshua Bakita2020-10-20
| | | | | Also move run_all_dis.sh up a directory in preperation for further changes.
* Unify all the versions of extra.h into a single multipurpose headerJoshua Bakita2020-10-19
There was previously a huge amount of shared code that had to be copied back and forth. This should reduce the maintenance burden by containing all future changes to a single file. New unified library is fully backwards-compatible but also introduces and the easy-to-use `for_each_job` macro which replaces the specific `for(...) START_LOOP ... STOP_LOOP` format requirement and is generally much harder to abuse. New unified library also automatically cleans up its shared memory and semaphores, so this commit also removes the separate `cleanupSemaphores` binary. I also found a precursor of `extra.h` written by Sims in `litmusStuff.h`. This code is only interesting for historical purposes, so it is also removed in this commit. This commit also adds debug options to all the Makefiles and silences rm's complaints about non-existent files in make clean.