summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.co.uk>2017-11-15 16:37:45 +0530
committerDennis Francis <dennis.francis@collabora.co.uk>2017-11-21 16:09:43 +0530
commit4defacd1fa2be800f3e7258abbb4ef2cd1834d31 (patch)
treee0af263eec8141029fb583cb51ad8b607e3a1025 /include
parentfbcdce22bce6d6d1ba5a9e90b642ea08fc09916a (diff)
halve the number of threads if HT is active
added hasHyperThreading() function to tools::cpuid to detect hyperthreading. Change-Id: I13fab4b6c649e681c329b7e3f4c9f36bda879d84
Diffstat (limited to 'include')
-rw-r--r--include/tools/cpuid.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tools/cpuid.hxx b/include/tools/cpuid.hxx
index d7aa07d54258..419d05714ae4 100644
--- a/include/tools/cpuid.hxx
+++ b/include/tools/cpuid.hxx
@@ -25,6 +25,7 @@ namespace tools
namespace cpuid
{
TOOLS_DLLPUBLIC bool hasSSE2();
+ TOOLS_DLLPUBLIC bool hasHyperThreading();
}
}
em. This is my penance for messing up the indentation with clang-tidy-modernize-namespaces. As such I have limited it to new-style namespaces for now, and the check is off by default. Change-Id: I4db7f10a81c79bc0eece8f8e3ee564da8bc7f168 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87723 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2020-01-15clang-tidy modernize-concat-nested-namespace in ooxNoel Grandin Change-Id: I9877be75e1f7dcefdf7172d05dfbb0a63d06ced1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86803 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-10-23loplugin:includeform: ooxStephan Bergmann Change-Id: I9f1cc9940f5b31370394f789ebfaddfd6d30ca61 2016-05-10tdf#42949: clean up includes in include/oox/helper with iwyuJorenz Paragas ...and fix the many compiler errors that occurred as a result. Change-Id: I497c326272b2f02737ca3765720d6815b735423b Reviewed-on: https://gerrit.libreoffice.org/24735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> 2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com> 2014-09-14Move oox/drawingml/*hxx internal headers to oox/inc.Matúš Kukan Do not export LinePropertiesContext class as visible. And move GraphicProperties to its own header. Change-Id: I047c181e9f2adc7e59885f59663ea56c7eb898ed 2014-06-25remove whitespacesMarkus Mohrhard Change-Id: Ie14ba3dcb97f20479a04538748ef2c1c9e6c5dac 2014-02-26Remove visual noise from ooxAlexander Wilms Change-Id: Ie25838f20f00dc32d9d22959308c118cef688e94 Reviewed-on: https://gerrit.libreoffice.org/8288 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2014-02-21drawingML import: run fonts inside group shapeZolnai Tamás Change-Id: Ib54fe868c11c0c22b85d8821fa7274c80918362c 2012-12-07::rtl:: prefixes removal in ooxJosé Guilherme Vanz This commit removes some ::rtl:: prefixes and some macros in OOX Change-Id: I0c5ad9805ec2e8ed1092c56fe32e6901fdbd2b67 Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1261 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2012-07-17re-base on ALv2 code. Includes:Michael Meeks retain presence of MPL licensed nssrenam.h symbol renamer.