diff options
author | James Rowe <jroweboy@gmail.com> | 2020-01-18 02:41:18 +0100 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2020-01-18 02:41:18 +0100 |
commit | 4512a6bbfcf360fc826b5cc9188a224bbedc5d62 (patch) | |
tree | 9f24bd665a4c91f98a1058a21f0831e9a6f0025a /src/common/telemetry.cpp | |
parent | Merge pull request #3316 from TotalCaesar659/linux-headbar-icon (diff) | |
download | yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.tar yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.tar.gz yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.tar.bz2 yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.tar.lz yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.tar.xz yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.tar.zst yuzu-4512a6bbfcf360fc826b5cc9188a224bbedc5d62.zip |
Diffstat (limited to 'src/common/telemetry.cpp')
-rw-r--r-- | src/common/telemetry.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/common/telemetry.cpp b/src/common/telemetry.cpp index f53a8d193..200c6489a 100644 --- a/src/common/telemetry.cpp +++ b/src/common/telemetry.cpp @@ -44,20 +44,6 @@ template class Field<std::string>; template class Field<const char*>; template class Field<std::chrono::microseconds>; -#ifdef ARCHITECTURE_x86_64 -static const char* CpuVendorToStr(Common::CPUVendor vendor) { - switch (vendor) { - case Common::CPUVendor::INTEL: - return "Intel"; - case Common::CPUVendor::AMD: - return "Amd"; - case Common::CPUVendor::OTHER: - return "Other"; - } - UNREACHABLE(); -} -#endif - void AppendBuildInfo(FieldCollection& fc) { const bool is_git_dirty{std::strstr(Common::g_scm_desc, "dirty") != nullptr}; fc.AddField(FieldType::App, "Git_IsDirty", is_git_dirty); @@ -71,7 +57,6 @@ void AppendCPUInfo(FieldCollection& fc) { #ifdef ARCHITECTURE_x86_64 fc.AddField(FieldType::UserSystem, "CPU_Model", Common::GetCPUCaps().cpu_string); fc.AddField(FieldType::UserSystem, "CPU_BrandString", Common::GetCPUCaps().brand_string); - fc.AddField(FieldType::UserSystem, "CPU_Vendor", CpuVendorToStr(Common::GetCPUCaps().vendor)); fc.AddField(FieldType::UserSystem, "CPU_Extension_x64_AES", Common::GetCPUCaps().aes); fc.AddField(FieldType::UserSystem, "CPU_Extension_x64_AVX", Common::GetCPUCaps().avx); fc.AddField(FieldType::UserSystem, "CPU_Extension_x64_AVX2", Common::GetCPUCaps().avx2); |