Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    libRTCTimer 0.0.8

    Download button

    No screenshots available
    Downloads: 444  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Thomas Hartman | More programs
    GPL / FREE
    October 3rd, 2006, 23:35 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    libRTCTimer description

    libRTCTimer is a C timer class similar to the Timer class included with Java.

    libRTCTimer is a library that provides high resolution and high accuracy timing-mechanisms for C under linux.

    This is achieved by using the internal RTC as timing-device. The library is developed to be easy to use. This includes mainly two things:

    1. The whole functionality of the library should be accessible with just a few calls. All the internal stuff is hidden from the coder.
    2. The library should be well documented.

    WARNING: If the program using libRTCTimer does not have root-privileges (either by executing it as root or by setting the prog suid root) the highest supported resolution is 64Hz. This is not due to a limitation of this implementation! It's a linux restriction.

    I don't know how this is handled by other os!

    Here are some key features of "libRTCTimer":

    · Millisecond resolution and even better accuracy! (Depends on your privileges and the RTC in you box!)
    · Easy to use interface with only 2 classes and just a few methods to get it on.
    · Complete documentation using doxygen.
    · Tunable start of the tasks. (Important if you write tasks that have to deal with latencies!)

    Usage:

    Using libRTCTimer is very simple. You need two things:

    · One instance of the class RTCTimer
    · One instance of a class that derives from RTCTask

    First you write a class that derives from RTCTask. This class has a virtual method called "task". The only thing you have to do is overriding this method. The code of that method is what gets executed.

    What's New in This Release:

    · This release fixes some minor bugs....



    Product's homepage

      


    TAGS:

    high resolution timer | C class | C library | libRTCTimer | high | resolution

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM