🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #8645

Re: CPU informatie opvragen via C++

#8645
From: Philip Paeps
Date: Wed, 19 Jun 2002 18:24
20 lines
1827 bytes
Dominique Devriese <fritmebufstek@pandora.be> wrote:
> Christof Laeremans <christof_laeremans@hotmail.com> writes:
> > Hoe kan ik informatie van een CPU (PIII en/of G4) zoals bv. Kloksnelheid,
> > type, .... Opvragen via C++ code ?

[...]

> dat hangt af van je besturingssysteem,
> op linux lees je die info uit van het bestand /proc/cpuinfo

Da's valsspelen :-)

(en andere unixen hebben geen cpuinfo bestandje)

 - Philip

-- 
Philip Paeps                                                   philip@paeps.cx

  Serving coffee on aircraft causes turbulence.
Technical Details
Message-ID: <e%3Q8.40761$ud.5738@afrodite.telenet-ops.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!yellow.newsread.com!netaxs.com!newsread.com!news.good.net!easynews!news-xfer2.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!bnewspeer01.bru.ops.eu.uu.net!emea.uu.net!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
References: <B93687CB.77D7%christof_laeremans@hotmail.com> <878z5bdu2h.fsf@living.pandora.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,7b53403a44943930
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2002-06-19 11:24:21 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!yellow.newsread.com!netaxs.com!newsread.com!news.good.net!easynews!news-xfer2.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!bnewspeer01.bru.ops.eu.uu.net!emea.uu.net!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
Sender: Philip Paeps <philip@juno.home.paeps.cx>
From: Philip Paeps <philip@paeps.cx>
Subject: Re: CPU informatie opvragen via C++
Newsgroups: be.comp.programming
References: <B93687CB.77D7%christof_laeremans@hotmail.com> <878z5bdu2h.fsf@living.pandora.be>
User-Agent: tin/1.5.13-20020614 ("Sugar") (UNIX) (FreeBSD/4.6-STABLE (i386))
Lines: 20
Message-ID: <e%3Q8.40761$ud.5738@afrodite.telenet-ops.be>
Date: Wed, 19 Jun 2002 18:24:10 GMT
NNTP-Posting-Host: 213.118.134.68
X-Complaints-To: abuse@telenet.be
X-Trace: afrodite.telenet-ops.be 1024511050 213.118.134.68 (Wed, 19 Jun 2002 20:24:10 MET DST)
NNTP-Posting-Date: Wed, 19 Jun 2002 20:24:10 MET DST
Organization: Telenet Internet