package janestreet_cpuid

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Amd.Version_and_feature_informationSource

On AMD CPUs the leaf retrieved when EAX is set to 0x1 contains processor model information as well as some basic features about the processor. *

Sourcemodule Eax : sig ... end
Sourcemodule Ebx : sig ... end

This is the only field in the CPUID which changes when called multiple times. The initial_apic_id field changes based on which core the process is currently running on. *

Sourcemodule Ecx_flags : sig ... end
Sourcemodule Edx_flags : sig ... end
Sourcetype t = {
  1. eax : Eax.t;
  2. ebx : Ebx.t;
  3. mutable ecx : Ecx_flags.t;
  4. mutable edx : Edx_flags.t;
}
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval canonical_version_string : t -> string
Sourceval retrieve : unit -> t
Sourcemodule For_testing : sig ... end
OCaml

Innovation. Community. Security.