Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setAllocationCounter :: Int64 -> IO ()ghc-internal GHC.Internal.System.Mem Every thread has an allocation counter that tracks how much memory has been allocated by the thread. The counter is initialized to zero, and setAllocationCounter sets the current value. The allocation counter counts *down*, so in the absence of a call to setAllocationCounter its value is the negation of the number of bytes of memory allocated by the thread. There are two things that you can do with this counter:
- Use it as a simple profiling mechanism, with getAllocationCounter.
- Use it as a resource limit. See enableAllocationLimit.
-
No documentation available.
type
AttrClassCopyFieldCallback = Attribute -> IO Attributegi-pango GI.Pango.Callbacks No description available in the introspection data.
type
AttrClassDestroyFieldCallback = Attribute -> IO ()gi-pango GI.Pango.Callbacks No description available in the introspection data.
type
AttrClassEqualFieldCallback = Attribute -> Attribute -> IO Boolgi-pango GI.Pango.Callbacks No description available in the introspection data.
type
C_AttrClassCopyFieldCallback = Ptr Attribute -> IO Ptr Attributegi-pango GI.Pango.Callbacks Type for the callback on the (unwrapped) C side.
type
C_AttrClassDestroyFieldCallback = Ptr Attribute -> IO ()gi-pango GI.Pango.Callbacks Type for the callback on the (unwrapped) C side.
type
C_AttrClassEqualFieldCallback = Ptr Attribute -> Ptr Attribute -> IO CIntgi-pango GI.Pango.Callbacks Type for the callback on the (unwrapped) C side.
-
gi-pango GI.Pango.Callbacks Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
-
gi-pango GI.Pango.Callbacks Given a pointer to a foreign C function, wrap it into a function callable from Haskell.