From: Anton Farygin <rider@altlinux.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Q: cpuid/cpuid2
Date: Thu, 09 Oct 2008 11:59:47 +0400
Message-ID: <48EDB9F3.1000601@altlinux.com> (raw)
In-Reply-To: <20081009075122.GA6701@localhost.localdomain>
Kirill A. Shutemov пишет:
> On Thu, Oct 09, 2008 at 11:37:53AM +0400, Anton Farygin wrote:
>> Mike A. Plugnikov пишет:
>>> On Thursday 09 October 2008 01:33:02 Anton Farygin wrote:
>> <skip>
>>>> cat /proc/cpuinfo всё расскажет.
>>>>
>>>> Или тебе хочется большего ? тогда - что именно ?
>>>>
>>>> cpuscan писался глядучи в cpuid, но для него нужно постоянно обновлять
>>>> (ручками) базу в hwdatabase (врочем, для cpuid эту же базу нужно
>>>> хардкодить в код). Данные для базы можно теоретически брать с сайтов
>>>> производителей процессоров.
>>>>
>>> например, что точно умеет процессор (x86_64, поддержка виртуализации и т.д.).
>> Это расскажет cat /proc/cpuinfo
>
> AT_HWCAP проще. Парсить не нужно.
Это если в коде, а если глазками, то проще cat ;)
next prev parent reply other threads:[~2008-10-09 7:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-08 17:06 Dmitry V. Levin
2008-10-08 19:48 ` Michael Shigorin
2008-10-08 21:15 ` Anton Farygin
2008-10-08 21:23 ` Dmitry V. Levin
2008-10-08 21:24 ` Anton Farygin
2008-10-08 21:29 ` Dmitry V. Levin
2008-10-08 21:33 ` Anton Farygin
2008-10-08 23:16 ` Mike A. Plugnikov
2008-10-09 7:37 ` Anton Farygin
2008-10-09 7:51 ` Kirill A. Shutemov
2008-10-09 7:59 ` Anton Farygin [this message]
2008-10-09 4:56 ` Serge Ryabchun
2008-10-08 20:36 ` Mike A. Plugnikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48EDB9F3.1000601@altlinux.com \
--to=rider@altlinux.com \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git