Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 3.10 Documentation
Results will update as you type.
  • Modules
    • module Enlighten
    • module Infrastructure (GeoBase)
      • module Basic Types
      • module Concurrency
      • module CPU Features
      • module File Handling
      • module Memory Allocation
      • module Message Reporting and Error Handling
      • module Preprocessor Symbols
      • module String Handling
      • module System
    • module Infrastructure (GeoCore)
  • Namespaces
  • Notes
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
module CPU Features

    This is the documentation for Enlighten.

    module CPU Features

    Nov 21, 2019

    Classes

    Name Description
    Geo::GeoFpControl

    Sets the state of the floating point control word, and restores the original value when the object is destroyed.

    Enums

    Name Description
    eCpuVendor

    PC CPU vendors.

    Variables

    Name Description
    const Geo::u32 GEO_CPU_FEATURE_AVX = 0x00000100

    This cpu supports AVX.

    const Geo::u32 GEO_CPU_FEATURE_F16C = 0x00000200

    This cpu supports F16C.

    const Geo::u32 GEO_CPU_FEATURE_FMA3 = 0x00000400

    This cpu supports FMA3.

    const Geo::u32 GEO_CPU_FEATURE_FMA4 = 0x00000080

    This cpu supports FMA4.

    const Geo::u32 GEO_CPU_FEATURE_MMX = 0x00000001

    This cpu supports mmx technology.

    const Geo::u32 GEO_CPU_FEATURE_SSE = 0x00000002

    This cpu supports version 1 of SSE.

    const Geo::u32 GEO_CPU_FEATURE_SSE2 = 0x00000004

    This cpu supports version 2 of SSE.

    const Geo::u32 GEO_CPU_FEATURE_SSE3 = 0x00000008

    This cpu supports version 3 of SSE.

    const Geo::u32 GEO_CPU_FEATURE_SSE41 = 0x00000020

    This cpu supports version 4.1 of SSE.

    const Geo::u32 GEO_CPU_FEATURE_SSE42 = 0x00000040

    This cpu supports version 4.2 of SSE.

    const Geo::u32 GEO_CPU_FEATURE_SSSE3 = 0x00000010

    This cpu supports the Supplemental Streaming SIMD Extensions 3 (SSSE3).

    Functions

    Name Description
    ~GeoFpControl()

    Destructor.

    GeoFpControl(bool, bool)

    Constructor.

    GetCpuFeatures()

    Retrieve the processors features as a set of flags.

    GetCpuVendor()

    Get the PC CPU vendor.

    GetCpuVendorAsString()

    Get the PC CPU vendor as a string.

    GetLogicalCpuCoreCount()

    Get the number of logical cores.


    eCpuVendor


    public: enum eCpuVendor
    {
        CPU_VENDOR_UNKNOWN = 0,
        CPU_VENDOR_INTEL,
        CPU_VENDOR_AMD
    }


    PC CPU vendors.

    enumerators
    CPU_VENDOR_UNKNOWN
    CPU_VENDOR_INTEL
    CPU_VENDOR_AMD


    Geo::GeoFpControl::~GeoFpControl


    public: ~GeoFpControl()


    Destructor.


    Geo::GeoFpControl::GeoFpControl


    public: GeoFpControl
    (
        bool highPrecision,
        bool enableDenormals
    )


    Constructor.

    Sets precision mode.

    Note

    On supported consoles, the highPrecision and enableDenormals flags are ignored, and the mode is always


    set to FTZ|DAZ for performance. The original mode is always preserved and returned to after this object is destroyed.

    Parameters
    [in] highPrecision

    Enable high precision.

    [in] enableDenormals

    Represent denormal numbers.


    u32 GEO_CALL Geo::GetCpuFeatures


    public: u32 GEO_CALL GetCpuFeatures()


    Retrieve the processors features as a set of flags.

    See Also

    GeoCpuID.h


    eCpuVendor GEO_CALL Geo::GetCpuVendor


    public: eCpuVendor GEO_CALL GetCpuVendor()


    Get the PC CPU vendor.


    const char* GEO_CALL Geo::GetCpuVendorAsString


    public: const char *GEO_CALL GetCpuVendorAsString()


    Get the PC CPU vendor as a string.


    s32 GEO_CALL Geo::GetLogicalCpuCoreCount


    public: s32 GEO_CALL GetLogicalCpuCoreCount()


    Get the number of logical cores.

    , multiple selections available,
    {"serverDuration": 10, "requestCorrelationId": "c423baec52fa40aa8a961162768f72df"}