Giter VIP home page Giter VIP logo

rtes_task1's Introduction

Real Time Embedded Systems Assignment #1, AUTh [2019]

Test sampling accuracy using minimum energy possible

This is an experimental application developed as part of the course "Real Time Embedded Systems" assignment, that took place in the Department of Electrical & Computer Engineering at Aristotle University of Thessaloniki in 2019.

The goal is to test the accuracy of sampling in embedded systems using different techniques, while trying to minimize the energy consumption of the system. To this end, three approaches have been implemented and tested.

1. NonAdaptive	-> Sleep for the amount of requested seconds [usleep() and sleep() used].
2. Adaptive	-> Sleep for the amount of requested seconds, but check the divergence of the actual requested time and adapt for the next sample [usleep() and sleep() used].
3. Interrupt	-> Set an interrupt and do other tasks, until the alarm rings.

Execution

To execute the code, you first need to compile it using:

gcc main.c -o main

and then run using:

./main [Oper] [time] [delta]

where:

  • Oper is the requested implementation from the three described above.
  • time is the total duration of the sampling in seconds.
  • delta is the sampling period in seconds.

all parameters are required.


Status

As of the completion of the project, it will NOT be maintained. By no means should it ever be considered stable or safe to use, as it may contain incomplete parts, critical bugs and security vulnerabilities.


Support

Reach out to me:


License

Beerware License

rtes_task1's People

Contributors

mpalaourg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.