| License | BSD-style |
|---|---|
| Maintainer | Foundation maintainers |
| Safe Haskell | None |
| Language | Haskell2010 |
Foundation.Time.Types
Description
An implementation of a timing framework
Synopsis
- newtype NanoSeconds = NanoSeconds Word64
- newtype Seconds = Seconds Word64
Documentation
newtype NanoSeconds Source #
An amount of nanoseconds
Constructors
| NanoSeconds Word64 |
Instances
An amount of nanoseconds
Instances
| Bounded Seconds Source # | |
| Enum Seconds Source # | |
| Eq Seconds Source # | |
| Ord Seconds Source # | |
Defined in Foundation.Time.Types | |
| Show Seconds Source # | |
| PrimType Seconds Source # | |
Defined in Foundation.Time.Types Methods 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 | |