hlibcpuid-0.1.0.0: Bindings to https://github.com/anrieff/libcpuid

Copyright(c) Daniel Taskoff 2020
LicenseMIT
Maintainerdaniel.taskoff@gmail.com
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell2010

System.LibCPUID.CPUID

Contents

Description

A wrapper around cpu_id_t from https://github.com/anrieff/libcpuid.

Synopsis

CPUID

data CPUID Source #

CPU information and features.

Constructors

CPUID 

Fields

Instances
Storable CPUID Source # 
Instance details

Defined in System.LibCPUID.CPUID

Methods

sizeOf :: CPUID -> Int #

alignment :: CPUID -> Int #

peekElemOff :: Ptr CPUID -> Int -> IO CPUID #

pokeElemOff :: Ptr CPUID -> Int -> CPUID -> IO () #

peekByteOff :: Ptr b -> Int -> IO CPUID #

pokeByteOff :: Ptr b -> Int -> CPUID -> IO () #

peek :: Ptr CPUID -> IO CPUID #

poke :: Ptr CPUID -> CPUID -> IO () #