posix-realtime-0.0.0.4: POSIX Realtime functionality

Copyright(c) The University of Glasgow 2002
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerWilliam N. Halchin (vigalchin@gmail.com)
Stabilityprovisional
Portabilitynon-portable (requires POSIX)
Safe HaskellNone
LanguageHaskell98

System.Posix.Realtime.RTTime

Description

Synopsis

Documentation

data SetTimeFlag Source

Constructors

Timer_Abstime 

timerCreate :: ClockId -> Maybe Sigevent -> IO TimerId Source

Create a realtime timer.

timerDelete :: TimerId -> IO () Source

Delete a timer.

timerGetTime :: TimerId -> IO ItimerSpec Source

Get the timer state.

timerGetOverrun :: TimerId -> IO Int Source

Get the timer overrun count.

clockGetRes :: ClockId -> IO TimeSpec Source

Get clock resolution.

clockGetTime :: ClockId -> IO TimeSpec Source

Get clock time.

clockSetTime :: ClockId -> TimeSpec -> IO () Source

Set clock time.