Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2031)

Unified Diff: base/cpu.h

Issue 75663004: net: boost AES-GCM ciphers if the machine has AES-NI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused variable Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/cpu.cc » ('j') | net/socket/ssl_client_socket_nss.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/cpu.h
diff --git a/base/cpu.h b/base/cpu.h
index 509763e170f4c666089f65db1b5b81097de452a9..19c99c757328044cc2c3c10c1d3d71ac486dc365 100644
--- a/base/cpu.h
+++ b/base/cpu.h
@@ -49,6 +49,7 @@ class BASE_EXPORT CPU {
bool has_non_stop_time_stamp_counter() const {
return has_non_stop_time_stamp_counter_;
}
+ bool has_aesni() const { return has_aesni_; }
wtc 2013/11/19 23:00:44 It seems that has_aesni() should follow has_avx()
agl 2013/11/20 18:21:07 Done.
IntelMicroArchitecture GetIntelMicroArchitecture() const;
const std::string& cpu_brand() const { return cpu_brand_; }
@@ -72,6 +73,7 @@ class BASE_EXPORT CPU {
bool has_sse42_;
bool has_avx_;
bool has_non_stop_time_stamp_counter_;
+ bool has_aesni_;
std::string cpu_vendor_;
std::string cpu_brand_;
};
« no previous file with comments | « no previous file | base/cpu.cc » ('j') | net/socket/ssl_client_socket_nss.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698