POSIX CPU Clocks
  OCERA Home  /  Download  /  Components  /  Scheduling  /  POSIX CPU Clocks (0.1-1)
  Training and support
    POSIX Streams

  Resource management
    Generic Scheduler patch
    Preemption+RTLinux patch
    RTLinux API on Linux
    QoS Manager
    Linux/CBS Scheduler

  Scheduling
    Application Scheduler
    TLSF Memory Allocator
    POSIX CPU Clocks
    POSIX Barriers
    POSIX Message Queues
    POSIX Signals
    POSIX Timers
    POSIX Trace
    RTLinux/CBS Scheduler
    RTLinux CC
    GNAT for RTLinux
    RTLinux ide/fs
    RTLinux Java
    RTLinux Terminal
    RTLinux UDP/IP
    Stand-Alone RTLinux
    XtratuM

  Fault-tolerance
    FT Application Monitor
    FT Controller

  Communication
    CANopen device
    CAN/CANopen monitor
    Virtual CAN API
    RT Ethernet Analyzer
    Linux CAN Driver
    ORTE
    CAN model
    Verification of RTOS

POSIX Execution-Time Clocks

   Description
Keywords: Real-Time, POSIX, timers
Description: When performing a schedulability test, scheduling analysis relies on a known worst-case execution time (WCET). Nevertheless, estimating WCET is a difficult task due to the different execution paths within a program and today's computer architectures. Without bound on execution time, a task could execute more than estimated, causing other tasks to loose its deadlines. This, on most hard real time application, may result in catastrophic consequences. This component tries to give a solution to this problem, implementing execution time timers within the task scheduler. This kind of timers may be used to detect execution time overruns in the application, and to limit their effects. As an example, if a timer is created using a CPU-Time clock of a particular thread, and a relative expiration time is given, it can be used to notify that a certain budget of execution time has elapsed, for that thread. If the timer is armed each time a thread is activated, and the relative expiration time is set to the thread's estimated worst-case execution time (plus some small amount to take into account the limited resolution and precision of the CPU-Time clock), then the timer will only expire if the thread suffers an execution time overrun.
   General information
Author(s): Josep Vidal (UPVLC)
Participants: Universidad Politecnica de Valencia
Workpackage: Development of real-time scheduling components (WP5)
Deliverable: Component documentation can be found in deliverable D5.4
Component homepage: http://www.ocera.org
Licenses: MPL, GPL, LGPL and CeCILL (Multiple license issues)
Current version: 0.1-1
Status: Testing
Hardware:
Processor: Independent
Platform:
RTLinux: 3.2pre1
Dependencies: RTLinux(3.2pre1), PSignals(>=0.2) and PTimers(>=0.2)
   Download
Current version: 0.1-1 [exec_timers-0.1-1.tgz] [src] [CVS at SourceForge]
Note: This component cannot be used directly. It has to be used within OCERA framework. Sources are provided only for documentation and portability purposes.

 Status codes: Analysis >> Design >> Alpha >> Beta >> Testing >> Stable

© OCERA Project. webmaster@ocera.org
Maintained by: Sergio Sáez   Last update: Wed Jan 10 16:56:56 2007