[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: getting number of processors on user machine
From: Kevin Ottens <ervin () kde ! org>
Date: 2006-08-28 7:32:36
Message-ID: 200608280932.41201.ervin () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Le lundi 28 août 2006 07:51, Aaron J. Seigo a écrit :
> yes ... one should then be able to do something like:
>
> int numCpus = DeviceManager::self()->findDevicesFromQuery(QString(),
> Solid::Capability::Processor).count();
>
> ... and hopefully there'll be good backend support for the various OSes out
> there =)
And it already works using the current HAL backend. ;-)
Regards.
--
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
[Attachment #5 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic