Holger Obermaier
|
a871753bdf
|
Cleanup
|
2023-09-07 14:06:57 +02:00 |
|
Holger Obermaier
|
fbf178326a
|
Add NumaDomainList and SMTList
|
2023-09-07 13:49:22 +02:00 |
|
Holger Obermaier
|
8fedef9024
|
Add DieList
|
2023-09-07 13:04:16 +02:00 |
|
Holger Obermaier
|
094f124a18
|
Avoid slice cloning. Directly use the cache
|
2023-09-07 11:45:38 +02:00 |
|
Holger Obermaier
|
1f5856c671
|
Reuse information from /proc/cpuinfo
|
2023-09-07 10:24:43 +02:00 |
|
Holger Obermaier
|
ae106566dd
|
Use init function to initalize cache structure to avoid multi threading problems
|
2023-09-07 10:11:20 +02:00 |
|
Holger Obermaier
|
b3922b3255
|
Cleanup
|
2023-09-06 17:29:37 +02:00 |
|
Holger Obermaier
|
5fa53a7ab8
|
Cache CpuData
|
2023-09-06 16:46:30 +02:00 |
|
Holger Obermaier
|
3ac1ada204
|
Add caching
|
2023-09-06 16:19:16 +02:00 |
|
Holger Obermaier
|
2dc78ee0aa
|
Avoid type conversion by using Atoi
Avoid copying structs by using pointer access
Increase readability with CamelCase variable names
|
2023-09-06 15:28:49 +02:00 |
|
Holger Obermaier
|
4b16ca4a30
|
Fix function getNumaDomain, it always returned 0
|
2023-09-06 11:35:45 +02:00 |
|
Holger Obermaier
|
3171792bd6
|
Use CamelCase
|
2023-09-06 10:37:57 +02:00 |
|
Holger Obermaier
|
99ccc04933
|
Read file line by line
|
2023-09-06 10:15:17 +02:00 |
|
Holger Obermaier
|
34436ac261
|
Read file line by line
|
2023-09-06 10:09:53 +02:00 |
|
Holger Obermaier
|
ae44b7f826
|
Read file line by line
|
2023-09-06 10:03:33 +02:00 |
|
Holger Obermaier
|
0cf32d5988
|
Switch to package slices from the golang 1.21 default library
|
2023-09-06 09:45:01 +02:00 |
|
Holger Obermaier
|
013aa9ec92
|
ioutil.ReadFile is deprecated: As of Go 1.16, this function simply calls os.ReadFile
|
2023-09-05 17:41:08 +02:00 |
|
Thomas Gruber
|
4bd71224df
|
move maybe-usable-by-other-cc-components to pkg. Fix all files to use the new paths (#88)
|
2022-10-10 11:53:11 +02:00 |
|