clock-0.1.2: clock.cabal
Name: clock
Version: 0.1.2
License: BSD3
License-file: COPYING
Copyright: (c) 2009 Cetin Sert
Author: Cetin Sert <cetin@sertcom.de>
Maintainer: Cetin Sert <cetin@sertcom.de>
Homepage: <http://sert.homedns.org/hs/clock/>
Category: System
Synopsis: High-resolution clock and timer functions:
realtime, monotonic, cputime, etc.
Description: A package for convenient access to high-resolution
clock and timer functions of different operating
systems.
.
It is planned to consist of two layers. The lower
layer will provide direct access to OS-specific
clock and timer functions like clock_gettime of
Posix or GetTickCount of Windows and its upper
layer shall then provide a common API for all
supported systems. Currently only the lower level
is being developed.
.
.
POSIX reference: IEEE Std 1003.1-2008
<http://www.opengroup.org/onlinepubs/9699919799/>,
<http://www.opengroup.org/onlinepubs/9699919799/functions/clock_getres.html#>
.
WINDOWS reference: !! This early version is
posix-only and does not build on Windows. Support
will be added in the future. !!
.
For more information, see:
<http://sert.homedns.org/hs/clock>
Stability: Experimental
Build-type: Simple
Build-depends: base >= 2 && < 5
Exposed-Modules: System.Posix.Clock
Extensions: ForeignFunctionInterface
C-sources: csec/clock.c
Include-dirs: csec
Install-includes: clock.h
ghc-options: -O2 -Wall -fglasgow-exts