AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Projekte CPUiD 3.0 - Ein kleines System - Diagnoseprogramm
Thema durchsuchen
Ansicht
Themen-Optionen

CPUiD 3.0 - Ein kleines System - Diagnoseprogramm

Ein Thema von Daniel G · begonnen am 15. Jul 2005 · letzter Beitrag vom 12. Jun 2008
Antwort Antwort
scp

Registriert seit: 31. Okt 2003
1.120 Beiträge
 
Delphi 7 Personal
 
#1

Re: CPUiD 2.0 - Ein kleines CPU - Diagnoseprogramm

  Alt 15. Jul 2005, 20:22
Ich hätte mal das Kleingedruckte im Datenblatt lesen sollen.
Zitat von AP-485:
This field does not indicate that Hyper-Threading Technology has been enabled. ... To determine if Hyper-Threading Technology is supported, check the value returned in EBX[23:16] ... contains a value > 1 ...
EDIT:
Source und Binary des "Referenzprojekts" geändert, DL-Link wie oben.
Schaue nochmal nach, ob AMD ähnliches gebaut hat.

@daniel g und andere Interessierte:
Delphi-Quellcode:
procedure GetIntelFeatures(var CpuInfo: TCpuInfoEx; edx : DWORD; IsExt : boolean; IsAMD : boolean);
begin

  //....

         if (not IsAMD) and ((edx and INTEL_HTT_Flag) = INTEL_HTT_Flag) and (CpuInfo.CPUCount > 1) then
             AddDesc(CpuInfo.Features, '',
              'HTT - Hyper-Threading' + ' (' + IntToStr(CpuInfo.CPUCount) + ' logical processors)', 0);

  //....


procedure IntelInfo(var CpuInfo : TCpuInfoEx);

  //....

begin
         CpuInfo.BrandID := (CpuInfo.CPUID.CpuFeatsEBX ) and $FF;
         CpuInfo.CPUCount := (CpuInfo.CPUID.CpuFeatsEBX shr 16) and $FF;

  //....
EDIT3: 8 bit haben immernoch eine Maske von FF
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:27 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz