Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aledpl5/assembly-production-scheduler
Assembly Order's Scheduler
https://github.com/aledpl5/assembly-production-scheduler
assembly assembly-language assembly-x86 interrupts makefile project syscalls university-project
Last synced: about 1 month ago
JSON representation
Assembly Order's Scheduler
- Host: GitHub
- URL: https://github.com/aledpl5/assembly-production-scheduler
- Owner: Aledpl5
- License: mit
- Created: 2024-07-03T13:27:00.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-06T11:05:17.000Z (6 months ago)
- Last Synced: 2024-11-21T01:43:56.116Z (about 1 month ago)
- Topics: assembly, assembly-language, assembly-x86, interrupts, makefile, project, syscalls, university-project
- Language: Assembly
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Production-Scheduler
This is a University project in which we had to create a scheduler of orders.
In this case, a specific company gives a text file in which stores the orders to schedule.Every file in the Ordini directory is composed in this way:
```id,production_time,deadline,priority```## How we store and order the data
Every time we store a data in the Stack, we have this column for each order:
|Stack|
|--------|
|........|
|Priority|
|Deadline|
|Production time|
|ID Order|At this point, we have all the four data near to each other, so we can easily manage them during the scheduling process.
### HPF Algorithm
The first algoritm we use is the ```High Priority First``` and in case two orders have the same priority, we check the deadline and put first which one has the lower deadline.### EDF Algorithm
The second algoritm we use is the ```Earliest Deadline First``` and in case two orders have the same deadline, we check the priority and put first which one has the higher priority## How to use
Open a terminal and run these 3 commands:
```bash
mkdir obj
mkdir bin
make
```
At this point, all objects and executable files are created.## How to run
In order to run this project, run this command:
```bash
./bin/pianificatore Ordini/orders_file
```## Collaborators
- [Mattia Danese](https://github.com/mattiadane)