On Wed, Jul 14, 2010 at 03:20:20PM +0200, Andrew Beekhof wrote:
On Wed, Jul 14, 2010 at 2:41 PM, Darryl L. Pierce dpierce@redhat.com wrote:
On Wed, Jul 14, 2010 at 01:29:53PM +0200, Andrew Beekhof wrote:
- <property name="cpu_model" type="lstr" access="RO" desc="The process model description." />
- <property name="cpu_cores" type="uint8" access="RO" desc="The number of processor cores." />
Number of cpus? Should we assume all CPUs are the same?
That's a good question. My experience has been with systems where the CPUs are all the same model. Is it possible for a system to have multiple different physical processors? If so, should we have a "list_processors" API and a Processor agent to represent it.
Unless anyone knows different, I'd vote for assuming they're all the same and adding: cpu_count
Sure. And if, in future, we find out that there can be different CPUs on the same system, we can expand the APIs to include an index argument, and default it to 0.