author | Pshyk, SerhiyX <serhiyx.pshyk@intel.com> | |
Tue, 4 Oct 2016 14:31:58 +0000 (15:31 +0100) | ||
committer | Kim Jones <kim-marie.jones@intel.com> | |
Wed, 5 Oct 2016 01:59:13 +0000 (02:59 +0100) | ||
commit | d2ffa2df22d6ebc7b4085344898b5a8c555fcda6 | |
tree | e113c85d44e6428c97fc9ad8f94d225063fd1032 | tree | snapshot |
parent | 81b4604322b035b35ccdf1fb04dff6092c6e3ae3 | commit | diff |
rdtmon: Addressed PR comments
1. use size_t type for all arrays and indexes
2. change malloc()/memset() to calloc()
3. fix minor code style issues
4. add range validation of core id values
5. use 'bytes' type for LLC value
6. add 'memory_bandwidth' type for MBM values
Change-Id: I5e577dcda19bc9799e7b79f9d0334c6f21b60f0d
Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
1. use size_t type for all arrays and indexes
2. change malloc()/memset() to calloc()
3. fix minor code style issues
4. add range validation of core id values
5. use 'bytes' type for LLC value
6. add 'memory_bandwidth' type for MBM values
Change-Id: I5e577dcda19bc9799e7b79f9d0334c6f21b60f0d
Signed-off-by: Serhiy Pshyk <serhiyx.pshyk@intel.com>
README | diff | blob | history | |
src/rdtmon.c | diff | blob | history | |
src/types.db | diff | blob | history |