MUtilities/docs/d2/db5/_c_p_u_features_8h.html

152 lines
15 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MuldeR&#39;s Utilities for Qt: include/MUtils/CPUFeatures.h File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">MuldeR&#39;s Utilities for Qt
</div>
<div id="projectbrief">MUtilities</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_b076b53667bc06ebb413a190e197fc7b.html">MUtils</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">CPUFeatures.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>This file contains function for detecting information about the CPU.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="../../d5/d3b/_global_8h_source.html">MUtils/Global.h</a>&gt;</code><br />
<code>#include &lt;QStringList&gt;</code><br />
</div>
<p><a href="../../d2/db5/_c_p_u_features_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d59/struct_m_utils_1_1_c_p_u_fetaures_1_1cpu__info__t.html">MUtils::CPUFetaures::cpu_info_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Struct to hold information about the CPU. <a href="../../d2/d59/struct_m_utils_1_1_c_p_u_fetaures_1_1cpu__info__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:d3/da6/namespace_m_utils"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/da6/namespace_m_utils.html">MUtils</a></td></tr>
<tr class="memdesc:d3/da6/namespace_m_utils"><td class="mdescLeft">&#160;</td><td class="mdescRight">Global <a class="el" href="../../d3/da6/namespace_m_utils.html" title="Global MUtils namespace. ">MUtils</a> namespace. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:d3/d02/namespace_m_utils_1_1_c_p_u_fetaures"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html">MUtils::CPUFetaures</a></td></tr>
<tr class="memdesc:d3/d02/namespace_m_utils_1_1_c_p_u_fetaures"><td class="mdescLeft">&#160;</td><td class="mdescRight">This namespace contains functions and constants for detecting CPU information. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a5f26f530b11eee62845fb45fba6a32fc"><td class="memItemLeft" align="right" valign="top">MUTILS_API cpu_info_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a5f26f530b11eee62845fb45fba6a32fc">MUtils::CPUFetaures::detect</a> (void)</td></tr>
<tr class="memdesc:a5f26f530b11eee62845fb45fba6a32fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Detect processor information. <a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a5f26f530b11eee62845fb45fba6a32fc">More...</a><br /></td></tr>
<tr class="separator:a5f26f530b11eee62845fb45fba6a32fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:aac608a8673b22dadca99d50086872dcc"><td class="memItemLeft" align="right" valign="top">static const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#aac608a8673b22dadca99d50086872dcc">MUtils::CPUFetaures::VENDOR_INTEL</a> = 0x01U</td></tr>
<tr class="memdesc:aac608a8673b22dadca99d50086872dcc"><td class="mdescLeft">&#160;</td><td class="mdescRight">CPU vendor flag. <a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#aac608a8673b22dadca99d50086872dcc">More...</a><br /></td></tr>
<tr class="separator:aac608a8673b22dadca99d50086872dcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf291fd6898fc1d4c77335b2a77f75e7"><td class="memItemLeft" align="right" valign="top">static const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#acf291fd6898fc1d4c77335b2a77f75e7">MUtils::CPUFetaures::VENDOR_AMD</a> = 0x02U</td></tr>
<tr class="memdesc:acf291fd6898fc1d4c77335b2a77f75e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">CPU vendor flag. <a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#acf291fd6898fc1d4c77335b2a77f75e7">More...</a><br /></td></tr>
<tr class="separator:acf291fd6898fc1d4c77335b2a77f75e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf2416d7ed2553f313fb08c289365f5c"><td class="memItemLeft" align="right" valign="top">static const quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#adf2416d7ed2553f313fb08c289365f5c">MUtils::CPUFetaures::FLAG_CMOV</a> = 0x001U</td></tr>
<tr class="memdesc:adf2416d7ed2553f313fb08c289365f5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">CPU feature flag. <a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#adf2416d7ed2553f313fb08c289365f5c">More...</a><br /></td></tr>
<tr class="separator:adf2416d7ed2553f313fb08c289365f5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c2235ceac6576dace2a0ea9ddc1cbdf"><td class="memItemLeft" align="right" valign="top">static const quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a1c2235ceac6576dace2a0ea9ddc1cbdf">MUtils::CPUFetaures::FLAG_MMX</a> = 0x002U</td></tr>
<tr class="memdesc:a1c2235ceac6576dace2a0ea9ddc1cbdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">CPU feature flag. <a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a1c2235ceac6576dace2a0ea9ddc1cbdf">More...</a><br /></td></tr>
<tr class="separator:a1c2235ceac6576dace2a0ea9ddc1cbdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02a1dd90366db8200e38299635e54a90"><td class="memItemLeft" align="right" valign="top">static const quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a02a1dd90366db8200e38299635e54a90">MUtils::CPUFetaures::FLAG_SSE</a> = 0x004U</td></tr>
<tr class="memdesc:a02a1dd90366db8200e38299635e54a90"><td class="mdescLeft">&#160;</td><td class="mdescRight">CPU feature flag. <a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a02a1dd90366db8200e38299635e54a90">More...</a><br /></td></tr>
<tr class="separator:a02a1dd90366db8200e38299635e54a90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ba4833265029796db9279e9bd8beae8"><td class="memItemLeft" align="right" valign="top">static const quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a9ba4833265029796db9279e9bd8beae8">MUtils::CPUFetaures::FLAG_SSE2</a> = 0x008U</td></tr>
<tr class="memdesc:a9ba4833265029796db9279e9bd8beae8"><td class="mdescLeft">&#160;</td><td class="mdescRight">CPU feature flag. <a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a9ba4833265029796db9279e9bd8beae8">More...</a><br /></td></tr>
<tr class="separator:a9ba4833265029796db9279e9bd8beae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52bb099e73cb9f6d02ef6ac9f89b4061"><td class="memItemLeft" align="right" valign="top">static const quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a52bb099e73cb9f6d02ef6ac9f89b4061">MUtils::CPUFetaures::FLAG_SSE3</a> = 0x010U</td></tr>
<tr class="memdesc:a52bb099e73cb9f6d02ef6ac9f89b4061"><td class="mdescLeft">&#160;</td><td class="mdescRight">CPU feature flag. <a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a52bb099e73cb9f6d02ef6ac9f89b4061">More...</a><br /></td></tr>
<tr class="separator:a52bb099e73cb9f6d02ef6ac9f89b4061"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5125a29c37e57656f45ad168e654fd05"><td class="memItemLeft" align="right" valign="top">static const quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a5125a29c37e57656f45ad168e654fd05">MUtils::CPUFetaures::FLAG_SSSE3</a> = 0x020U</td></tr>
<tr class="memdesc:a5125a29c37e57656f45ad168e654fd05"><td class="mdescLeft">&#160;</td><td class="mdescRight">CPU feature flag. <a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a5125a29c37e57656f45ad168e654fd05">More...</a><br /></td></tr>
<tr class="separator:a5125a29c37e57656f45ad168e654fd05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9c23f847bf250fe26ee353b57f8db3f"><td class="memItemLeft" align="right" valign="top">static const quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#af9c23f847bf250fe26ee353b57f8db3f">MUtils::CPUFetaures::FLAG_SSE4</a> = 0x030U</td></tr>
<tr class="memdesc:af9c23f847bf250fe26ee353b57f8db3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">CPU feature flag. <a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#af9c23f847bf250fe26ee353b57f8db3f">More...</a><br /></td></tr>
<tr class="separator:af9c23f847bf250fe26ee353b57f8db3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcb03b5edb1518bfca9984ff9ccc4f99"><td class="memItemLeft" align="right" valign="top">static const quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#afcb03b5edb1518bfca9984ff9ccc4f99">MUtils::CPUFetaures::FLAG_SSE42</a> = 0x080U</td></tr>
<tr class="memdesc:afcb03b5edb1518bfca9984ff9ccc4f99"><td class="mdescLeft">&#160;</td><td class="mdescRight">CPU feature flag. <a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#afcb03b5edb1518bfca9984ff9ccc4f99">More...</a><br /></td></tr>
<tr class="separator:afcb03b5edb1518bfca9984ff9ccc4f99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8a4de23ab21ecd4871358e7edea90cb"><td class="memItemLeft" align="right" valign="top">static const quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#ad8a4de23ab21ecd4871358e7edea90cb">MUtils::CPUFetaures::FLAG_AVX</a> = 0x100U</td></tr>
<tr class="memdesc:ad8a4de23ab21ecd4871358e7edea90cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">CPU feature flag. <a href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#ad8a4de23ab21ecd4871358e7edea90cb">More...</a><br /></td></tr>
<tr class="separator:ad8a4de23ab21ecd4871358e7edea90cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This file contains function for detecting information about the CPU. </p>
<p>Call the <a class="el" href="../../d3/d02/namespace_m_utils_1_1_c_p_u_fetaures.html#a5f26f530b11eee62845fb45fba6a32fc" title="Detect processor information. ">MUtils::CPUFetaures::detect()</a> to detect information about the processor, which will be returned in a <code><a class="el" href="../../d2/d59/struct_m_utils_1_1_c_p_u_fetaures_1_1cpu__info__t.html" title="Struct to hold information about the CPU. ">MUtils::CPUFetaures::cpu_info_t</a></code> struct. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>