License | BSD-style |
---|---|
Maintainer | Foundation maintainers |
Safe Haskell | None |
Language | Haskell2010 |
An implementation of a timing framework
Synopsis
- newtype NanoSeconds = NanoSeconds Word64
- newtype Seconds = Seconds Word64
Documentation
newtype NanoSeconds Source #
An amount of nanoseconds
Instances
An amount of seconds
Instances
Bounded Seconds Source # | |
Enum Seconds Source # | |
Eq Seconds Source # | |
Ord Seconds Source # | |
Show Seconds Source # | |
PrimType Seconds Source # | |
Defined in Foundation.Time.Types primSizeInBytes :: Proxy Seconds -> CountOf Word8 # primShiftToBytes :: Proxy Seconds -> Int # primBaUIndex :: ByteArray# -> Offset Seconds -> Seconds # primMbaURead :: PrimMonad prim => MutableByteArray# (PrimState prim) -> Offset Seconds -> prim Seconds # primMbaUWrite :: PrimMonad prim => MutableByteArray# (PrimState prim) -> Offset Seconds -> Seconds -> prim () # primAddrIndex :: Addr# -> Offset Seconds -> Seconds # primAddrRead :: PrimMonad prim => Addr# -> Offset Seconds -> prim Seconds # primAddrWrite :: PrimMonad prim => Addr# -> Offset Seconds -> Seconds -> prim () # | |
Additive Seconds Source # | |
type PrimSize Seconds Source # | |
Defined in Foundation.Time.Types |