Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Platform profiles
Synopsis
- data Profile = Profile {
- profilePlatform :: !Platform
- profileWays :: !Ways
- profileBuildTag :: Profile -> String
- profileConstants :: Profile -> PlatformConstants
- profileIsProfiling :: Profile -> Bool
- profileWordSizeInBytes :: Profile -> Int
Documentation
A platform profile fully describes the kind of objects that are generated for a platform.
Platform
doesn't fully describe the ABI of an object. Compiler ways
(profiling, debug, dynamic) also modify the ABI.
Profile | |
|
profileBuildTag :: Profile -> String Source #
Unique build tag for the profile
profileConstants :: Profile -> PlatformConstants Source #
Get platform constants
profileIsProfiling :: Profile -> Bool Source #
Is profiling enabled
profileWordSizeInBytes :: Profile -> Int Source #
Word size in bytes