Hi Thomas,
Thanks for your advice.
I'll modify the patch and send it as 'patch v3' later.
On 2014/5/29 15:22, Thomas Monjalon wrote:
> Hi Shannon,
>
> I feel this version is better but it's really complicated to read.
>
>> +max_processor_len=len(str(len(cores)*len(sockets)*2-1))
>> +max_core_ma
Bug: when "core id" is greater than 9, the cpu_layout.py output doesn't align.
Socket 0Socket 1
- -
Core 9 [4, 16] [10, 22]
Core 10 [5, 17] [11, 23]
Solution: adjust output format to align based on the maximum length of the
Hi Shannon,
I feel this version is better but it's really complicated to read.
> +max_processor_len=len(str(len(cores)*len(sockets)*2-1))
> +max_core_map_len = max_processor_len*2+4
> +if max_core_map_len < 12:
> +max_core_map_len = 12
This line is not indented as the other ones.
> +max
3 matches
Mail list logo