aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarat Dukhan <marat@fb.com>2017-08-25 23:20:07 -0700
committerMarat Dukhan <marat@fb.com>2017-08-25 23:20:07 -0700
commitab3a1272c9ac8e17d2aeb983f81e72a51940d3a2 (patch)
treef381d92c23bf98d7e7b58bfe6ed416feca65c8b6 /include
parente9cdede1fbc6a151011fcdc65a4daefdd6d8728a (diff)
downloadcpuinfo-ab3a1272c9ac8e17d2aeb983f81e72a51940d3a2.tar.gz
Rename thread_start/thread_count -> processor_start/processor_count
Diffstat (limited to 'include')
-rw-r--r--include/cpuinfo.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/cpuinfo.h b/include/cpuinfo.h
index ff74f4a..88d0a33 100644
--- a/include/cpuinfo.h
+++ b/include/cpuinfo.h
@@ -265,9 +265,9 @@ struct cpuinfo_cache {
*/
uint32_t flags;
/** Index of the first logical processor that shares this cache */
- uint32_t thread_start;
+ uint32_t processor_start;
/** Number of logical processors that share this cache */
- uint32_t thread_count;
+ uint32_t processor_count;
};
struct cpuinfo_caches {
@@ -603,13 +603,13 @@ struct cpuinfo_processor {
};
struct cpuinfo_core {
- uint32_t thread_start;
- uint32_t thread_count;
+ uint32_t processor_start;
+ uint32_t processor_count;
};
struct cpuinfo_package {
- uint32_t thread_start;
- uint32_t thread_count;
+ uint32_t processor_start;
+ uint32_t processor_count;
uint32_t core_count;
#if CPUINFO_ARCH_X86 || CPUINFO_ARCH_X86_64
struct cpuinfo_x86_model_info model_info;