INtime SDK Help
SYSINFO structure

Contains information about the current RT machine configuration.

You can read this structure using CopyRtSystemInfo

Syntax

typedef struct tagSysInfo {
    char        _reserved0[15];
    BYTE        _reserved15;
    char        _reserved16[30];
    WORD        _reserved46[2];
    BYTE        _reserved50;
    DWORD       _reserved51;
    WORD        _reserved55;
    WORD        NucleusTickInterval;
    WORD        KernelTickRatio;
    BYTE        _reserved61;
    BYTE        _reserved62;
    BYTE        _reserved63;
    BYTE        MajorVersion;
    BYTE        MinorVersion;
    WORD        BuildNumber;
    WORD        _reserved68;
    DWORD       PentiumTicksPerUsec;
    BYTE        _reserved74[3];
    BYTE        LogicalCPUId;
    BYTE        NodeType;
BYTE NumProcs; BYTE _reserved80; BYTE _reserved81; WORD DelayConst; DWORD _reserved84; WORD _reserved88; BYTE _reserved90; BYTE CPUType; DWORD _reserved92; BYTE TimeZone; DWORD _reserved97; DWORD _reserved101; DWORD _reserved105; BYTE CPUModel; DWORD CPUFeatures; BYTE LogicalPageSize; BYTE _reserved115[6];
DWORD SystemLockAddress;
RTHANDLE INscopeSeg;

BYTE SystemFlags; BYTE UserReserved[32]; } SYSINFO, *LPSYSINFO;

Fields

NucleusTickInterval
The tick interval of the RT kernel high-level clock. This field is always set to 10, indicating a 10ms clock interval.
KernelTickRatio
The number of low-level clock ticks per high-level clock interval. This field is configurable.
MajorVersion
The major version number of this kernel.
MinorVersion
The minor version number of this kernel.
BuildNumber
The build number of this kernel.
PentiumTicksPerUsec
The number of counts per microsecond made by the Pentium timestamp counter.
LogicalCPUId
The ID used by the inter-node messaging software.
NodeType
This field indicates the type of this node. It may take one of the following values:
NODE_TYPE_SINGLE_CPU Node on a single-core Windows host.
NODE_TYPE_SHARED_MP Node sharing a processing thread with Windows in a multicore system.
NODE_TYPE_DEDICATED_MP Node with its own processing thread in a multicore Windows host.
NODE_TYPE_REMOTE_MP Node on a multi-core INtime host.
NumProcs
The number of processor cores or threads available on the system
DelayConst
A value computed by the real time kernel during initialization which is used by the OS for timing purposes.
CPUType
A number that indicates the CPU type installed in this system. For information about the numbers, see the Pentium* and Pentium Pro* hardware reference manuals.
TimeZone
Reserved for future use. Currently set to 0 (zero).
CPUModel
A number that indicates the CPU model of this system. For information about the numbers, see the Pentium* and Pentium Pro* hardware reference manuals.
CPUFeatures
Information returned by GetCPUID instruction that identifies the features of this CPU. For information about the features, see the Pentium* and Pentium Pro* hardware reference manuals.
LogicalPageSize
Paging system allocation size.
SystemLockAddress
Address of system spinlock.
InscopeSeg
Handle for INscope data area.
SystemFlags
Bitfield indicating the presence of certain features.
SYSFLAG_XM_MODE Indicates XM mode is enabled.
SYSFLAG_FPE_SEH Indicates that floating point and SSE exceptions will be handled by SEH instead of the legacy SetRtExceptionHandler method.
SYSFLAG_PAE_MODE Indicates that Extended Physical Memory mode is enabled.
UserReserved
Reserved for future use.
See Also

System & Status