Enable test cases for windows parser for CPU mapping table (#15589)

* update test cases for windows cpu mapping parser

* fix code style issue

* fix code style issue

* fix code style issue

* update test data for Linux parser to align with Windows test case

* ufix code style issue

* update test data for Android build

* update linux CPU map parser fix

* fix code style issue

* fix test data issue

* fix size_t warning

* fix size_t warning
This commit is contained in:
Shen, Wanglei 2023-02-13 07:55:39 +00:00 committed by GitHub
parent 646778b63f
commit 115014d3ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1787 additions and 1 deletions

View File

@ -161,7 +161,7 @@ void parse_processor_info_win(const char* base_ptr,
_proc_type_table[0] = line_value_0;
for (int m = 1; m <= _sockets; m++) {
for (int n = 0; n <= EFFICIENT_CORE_PROC; n++) {
for (int n = 0; n < PROC_TYPE_TABLE_SIZE; n++) {
_proc_type_table[0][n] += _proc_type_table[m][n];
}
}

File diff suppressed because it is too large Load Diff