Summary: | app-admin/gentoo-stats doesn't understand Alpha processor info | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Will Woods (RETIRED) <wwoods> |
Component: | Current packages | Assignee: | Arun Bhanu (RETIRED) <arunbhanu> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.0 | ||
Hardware: | Alpha | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | gentoo-stats to support alpha |
Description
Will Woods (RETIRED)
2002-10-25 16:42:43 UTC
cpu : Alpha cpu model : EV5 cpu variation : 7 cpu revision : 0 cpu serial number : system type : Alcor system variation : Alcor system revision : 0 system serial number : cycle frequency [Hz] : 333333333 timer frequency [Hz] : 1024.00 page size [bytes] : 8192 phys. address bits : 40 max. addr. space # : 127 BogoMIPS : 660.40 kernel unaligned acc : 0 (pc=0,va=0) user unaligned acc : 0 (pc=0,va=0) platform string : Digital AlphaStation 600 5/333 cpus detected : 1 Created attachment 11014 [details]
gentoo-stats to support alpha
I'm just attaching a whole new version instead of a patch because then it's
easier to see what's going on with a visual diff tool. Note: It looks like a
lot of changes, but it's not really. I split get_cpus into separate
subroutines depending on the platform type, creating get_cpus_x86,
get_cpus_ppc, and get_cpus_alpha. In reality, the only *new* code is
get_cpus_alpha.
Reassigning to codebear for absorption into new gentoo-stats. Codebear, my attachment to this bug adds alpha support to the gentoo-stats client. It's based on the Perl version 0.4 in the portage tree. Assuming Python understands forward lookahead assertions, it should be fairly easily ported. Let me know if there's any trouble... |