get_one_cpu_topology: Renumber core_id (physical core id)

Change-Id: I4e4857e9a063d16d19d73adfabfc18a4b461bbfb
Refs: #1439
This commit is contained in:
Toshiyuki Takahashi
2020-02-14 11:27:49 +09:00
committed by Masamichi Takagi
parent bb7e140655
commit 0a4e6b49b4
10 changed files with 536 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
$ make test
python C1439.py 1-4,30-33,56-61
cpu_list = 1-4,30-33,56-61
linux:
{32: 4, 1: 1, 2: 2, 3: 3, 4: 4, 33: 5, 56: 256, 57: 257, 58: 258, 59: 259, 60: 260, 61: 261, 30: 2, 31: 3}
mckernel:
{0: 0, 1: 1, 2: 2, 3: 3, 4: 1, 5: 2, 6: 3, 7: 4, 8: 5, 9: 6, 10: 7, 11: 8, 12: 9, 13: 10}
SUCCESS