Implementation of the Schedule-Abstraction Graph (SAG) in Python.
Project description
Schedule-Abstraction Graph in Python
Schedule-abstraction graph (SAG) is a reachability-based response-time analysis for real-time systems.
This is the unofficial implementation of the SAG in Python. This is still WIP (Work-in-Progress). The implemented SAG follows the following paper:
- M. Nasri, G. Nelissen, and B. Brandenburg, “Response-Time Analysis of Limited-Preemptive Parallel DAG Tasks under Global Scheduling”, Proceedings of the 31st Euromicro Conference on Real-Time Systems (ECRTS 2019), pp. 21:1–21:23, July 2019.
You can visit the official repository here.
Run example
- Clone the repository and run the
sagpy.pyscript on acsvfile that contains a set of jobs. A job is a tuple:(name, r_min, r_max, C_min, C_max, p). The SAG for regular JLFP WC schedulers is run by default. Use the--ROSflag to run the SAG for the ROS2 executor with (by default) 2 threads. The algorithm prints to console the best response times and worst response times for the given jobs, and makes apngimage with the constructed SAG so you can see exactly the state-transition system.
python3 sag_cli.py examples/input_examples/job_sets/mitra_example.csv --ROS
Output files are by default generated in the ~/USER/.sagpy folder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sagpy-0.0.11.tar.gz.
File metadata
- Download URL: sagpy-0.0.11.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05582e1652bca770b68fcc0eb087141e47cc36dcfabf13a6a20fdd9720bb5042
|
|
| MD5 |
111f12f9c845df8bf86292f37f513031
|
|
| BLAKE2b-256 |
7588b4e6bd6490ff69e2a7f47ebb5837b9dd7d89b2fad2aca40535f1543c3da1
|
File details
Details for the file sagpy-0.0.11-py3-none-any.whl.
File metadata
- Download URL: sagpy-0.0.11-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
993adb2df0fface0f48bbbadb93ce29a63a7188ae125fafce38b67c7163e6c31
|
|
| MD5 |
d4ee2dc708cc64c3e1995dcaa7c536c6
|
|
| BLAKE2b-256 |
7c30ce62aeffba839e4b0796b5b84dee7dbcb0533b74e8451eef1c575b41c285
|