<ahref="#pub-methods">Public Member Functions</a>|
<ahref="classcrashpad_1_1SystemSnapshot-members.html">List of all members</a></div>
<divclass="headertitle">
<divclass="title">crashpad::SystemSnapshot Class Reference<spanclass="mlabels"><spanclass="mlabel">abstract</span></span></div></div>
</div><!--header-->
<divclass="contents">
<p>An abstract interface to a snapshot representing the state of a system, comprising an operating system, CPU architecture, and various other characteristics.
<areahref="classcrashpad_1_1internal_1_1SystemSnapshotMac.html"title="A SystemSnapshot of the running system, when the system runs macOS. "alt="crashpad::internal::SystemSnapshotMac"shape="rect"coords="0,56,236,80"/>
<areahref="classcrashpad_1_1internal_1_1SystemSnapshotWin.html"title="A SystemSnapshot of the running system, when the system runs Windows. "alt="crashpad::internal::SystemSnapshotWin"shape="rect"coords="246,56,482,80"/>
<areahref="classcrashpad_1_1test_1_1TestSystemSnapshot.html"title="A test SystemSnapshot that can carry arbitrary data for testing purposes. "alt="crashpad::test::TestSystemSnapshot"shape="rect"coords="492,56,728,80"/>
<trclass="memdesc:a648208544d9aae4bed72731cfcb9c170"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the snapshot system’s CPU architecture. <ahref="#a648208544d9aae4bed72731cfcb9c170">More...</a><br/></td></tr>
<trclass="memdesc:a75192dc6dcca51b759576141fe69a9b7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the snapshot system’s CPU revision. <ahref="#a75192dc6dcca51b759576141fe69a9b7">More...</a><br/></td></tr>
<trclass="memdesc:a21cab195d226ee98bff8964ff295840d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the total number of CPUs present in the snapshot system. <br/></td></tr>
<trclass="memdesc:a335fced130bd7371b97f69c7176e44f2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the vendor of the snapshot system’s CPUs. <ahref="#a335fced130bd7371b97f69c7176e44f2">More...</a><br/></td></tr>
<trclass="memdesc:a271ee9d35dc0e5bb043c8c869fea35b0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns frequency information about the snapshot system’s CPUs in <em>current_hz</em> and <em>max_hz</em>. <ahref="#a271ee9d35dc0e5bb043c8c869fea35b0">More...</a><br/></td></tr>
<trclass="memdesc:a3370fa9291053c60e9dc9beddb6123ac"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns an x86-family snapshot system’s CPU signature. <ahref="#a3370fa9291053c60e9dc9beddb6123ac">More...</a><br/></td></tr>
<trclass="memdesc:a75a70dab05b1b393b7f46d46cab4582e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns an x86-family snapshot system’s CPU features. <ahref="#a75a70dab05b1b393b7f46d46cab4582e">More...</a><br/></td></tr>
<trclass="memdesc:a4ed18f9ebb87849c41d0da205f8dfbf6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns an x86-family snapshot system’s extended CPU features. <ahref="#a4ed18f9ebb87849c41d0da205f8dfbf6">More...</a><br/></td></tr>
<trclass="memdesc:a6bc4988ded49fb7044e6a08bc2a359e1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns an x86-family snapshot system’s “leaf 7” CPU features. <ahref="#a6bc4988ded49fb7044e6a08bc2a359e1">More...</a><br/></td></tr>
<trclass="memdesc:ae6ab89c5f075da4fa5040106527cf281"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns an x86-family snapshot system’s CPU’s support for the SSE DAZ (“denormals are zeros”) mode. <ahref="#ae6ab89c5f075da4fa5040106527cf281">More...</a><br/></td></tr>
<trclass="memdesc:a4285939aa1ed4cae2aa70db4589281f3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the snapshot system’s operating system family. <br/></td></tr>
<trclass="memdesc:a5ab7eed5cd3d46ac3fb9218265cf2392"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns whether the snapshot system runs a server variant of its operating system. <br/></td></tr>
<trclass="memitem:ad25a022c3ba1639abc11e1bb19bd5741"><tdclass="memItemLeft"align="right"valign="top">virtual void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcrashpad_1_1SystemSnapshot.html#ad25a022c3ba1639abc11e1bb19bd5741">OSVersion</a> (int *major, int *minor, int *bugfix, std::string *build) const =0</td></tr>
<trclass="memdesc:ad25a022c3ba1639abc11e1bb19bd5741"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the snapshot system’s operating system version information in <em>major</em>, <em>minor</em>, <em>bugfix</em>, and <em>build</em>. <ahref="#ad25a022c3ba1639abc11e1bb19bd5741">More...</a><br/></td></tr>
<trclass="memdesc:a37c95ac1c02efc5d6ad1fc1658d84f43"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the snapshot system’s full operating system version information in string format. <ahref="#a37c95ac1c02efc5d6ad1fc1658d84f43">More...</a><br/></td></tr>
<trclass="memdesc:a77c75d316dd728d541d51b6ff29265eb"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a description of the snapshot system’s hardware in string format. <ahref="#a77c75d316dd728d541d51b6ff29265eb">More...</a><br/></td></tr>
<trclass="memdesc:ab347e8cf3f9cd790d94966a794c88e0c"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the status of the NX (no-execute, or XD, execute-disable) feature on the snapshot system. <ahref="#ab347e8cf3f9cd790d94966a794c88e0c">More...</a><br/></td></tr>
<trclass="memitem:aaf0934ce747f00ebc27bfd517400872d"><tdclass="memItemLeft"align="right"valign="top">virtual void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classcrashpad_1_1SystemSnapshot.html#aaf0934ce747f00ebc27bfd517400872d">TimeZone</a> (<aclass="el"href="classcrashpad_1_1SystemSnapshot.html#a28be27b27e7257818a9b13f121f0f472">DaylightSavingTimeStatus</a> *dst_status, int *standard_offset_seconds, int *daylight_offset_seconds, std::string *standard_name, std::string *daylight_name) const =0</td></tr>
<trclass="memdesc:aaf0934ce747f00ebc27bfd517400872d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns time zone information from the snapshot system, based on its locale configuration and real-time clock. <ahref="#aaf0934ce747f00ebc27bfd517400872d">More...</a><br/></td></tr>
<divclass="textblock"><p>An abstract interface to a snapshot representing the state of a system, comprising an operating system, CPU architecture, and various other characteristics. </p>
<p>The daylight saving time status is taken partially from the system’s locale configuration. This determines whether daylight saving time is ever observed on the system. If it is, the snapshot’s time (<aclass="el"href="classcrashpad_1_1ProcessSnapshot.html#a755c58effbbfb33b4d5be963bd81079f"title="Returns the time that the snapshot was taken in snapshot_time. ">ProcessSnapshot::SnapshotTime()</a>) is used to determine whether the system was observing daylight saving time at the time of the snapshot. </p>
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="a28be27b27e7257818a9b13f121f0f472a28fe951fe4f5074425c57af81b79283c"></a>kDoesNotObserveDaylightSavingTime </td><tdclass="fielddoc"><p>Daylight saving time is never observed on the snapshot system. </p>
<tr><tdclass="fieldname"><aid="a28be27b27e7257818a9b13f121f0f472ae6af43c569ce9d4c82e4161911dceb6e"></a>kObservingStandardTime </td><tdclass="fielddoc"><p>Daylight saving time is observed on the snapshot system when in effect, but standard time was in effect at the time of the snapshot. </p>
<tr><tdclass="fieldname"><aid="a28be27b27e7257818a9b13f121f0f472adf6b62cc7b76e91109ddddbdf291bafa"></a>kObservingDaylightSavingTime </td><tdclass="fielddoc"><p>Daylight saving time is observed on the snapshot system when in effect, and daylight saving time was in effect at the time of the snapshot. </p>
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="aa8ef4c8866899122bd8da279b3b2ab37a433de68d427f8723255eba765f2adb71"></a>kOperatingSystemUnknown </td><tdclass="fielddoc"><p>The snapshot system’s operating system is unknown. </p>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">current_hz</td><td>The snapshot system’s CPU clock frequency in Hz at the time of the snapshot. </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">max_hz</td><td>The snapshot system’s maximum possible CPU clock frequency. </td></tr>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#acf7730b095775568231c692de1e190b2">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#acf8216c2c10ca4f2510e30cf426d1230">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#a1e5c9324482254b80848b5e08a74bddf">crashpad::internal::SystemSnapshotWin</a>.</p>
<p>Returns the snapshot system’s CPU revision. </p>
<p>For x86-family CPUs (including x86_64 and 32-bit x86), this is the CPU family, model, and stepping ID values from <code>cpuid 1</code><code>eax</code>. The family and model values are adjusted to take the extended family and model IDs into account. These values are encoded in this method’s return value with the family in the high high 16 bits, the model in the next 8 bits, and the stepping in the low 8 bits.</p>
<dlclass="section return"><dt>Returns</dt><dd>A CPU architecture-specific value identifying the CPU revision. </dd></dl>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#a6864f519bbed984313faead9f93c647a">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#a8d3c9280e5d8d834002c6b4eeb2f8749">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#aef1a286a837bae6b6b2f850775b2b418">crashpad::internal::SystemSnapshotWin</a>.</p>
<p>Returns the vendor of the snapshot system’s CPUs. </p>
<p>For x86-family CPUs (including x86_64 and 32-bit x86), this is the CPU vendor identification string as encoded in <code>cpuid 0</code><code>ebx</code>, <code>edx</code>, and <code>ecx</code>.</p>
<dlclass="section return"><dt>Returns</dt><dd>A string identifying the vendor of the snapshot system’s CPUs. </dd></dl>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#ab94b490fa0700a74a65c3776fcc03d67">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#aafa40be5dd28e9d3e0d2e7f54277ca5c">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#a8f8f25f7b4d02b4895838e088f90b848">crashpad::internal::SystemSnapshotWin</a>.</p>
<p>Returns an x86-family snapshot system’s extended CPU features. </p>
<p>This is the extended feature information as encoded in <code>cpuid 0x80000001</code><code>edx</code> and <code>ecx</code>. <code>edx</code> is placed in the low half of the return value, and <code>ecx</code> is placed in the high half.</p>
<p>This method must only be called when <aclass="el"href="classcrashpad_1_1SystemSnapshot.html#a648208544d9aae4bed72731cfcb9c170"title="Returns the snapshot system’s CPU architecture. ">GetCPUArchitecture()</a> indicates an x86-family CPU architecture (<aclass="el"href="namespacecrashpad.html#a270e290ba558e948eb6690bd217cbb71a35adbd1bc0b19ef37c520d078cf0df15"title="32-bit x86. ">kCPUArchitectureX86</a> or <aclass="el"href="namespacecrashpad.html#a270e290ba558e948eb6690bd217cbb71addee685df867aea490719783e56baf0a"title="x86_64. ">kCPUArchitectureX86_64</a>).</p>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="classcrashpad_1_1SystemSnapshot.html#a75a70dab05b1b393b7f46d46cab4582e"title="Returns an x86-family snapshot system’s CPU features. ">CPUX86Features()</a></dd>
<aclass="el"href="classcrashpad_1_1SystemSnapshot.html#a6bc4988ded49fb7044e6a08bc2a359e1"title="Returns an x86-family snapshot system’s “leaf 7” CPU features. ">CPUX86Leaf7Features()</a></dd></dl>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#a574ba377c4df0bb3bd6d34e3f696fc45">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#a83d37491feadb487c855e89ac13edd91">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#a7d958d128cc01335c1c43859ff787a3d">crashpad::internal::SystemSnapshotWin</a>.</p>
<p>Returns an x86-family snapshot system’s CPU features. </p>
<p>This is the feature information as encoded in <code>cpuid 1</code><code>edx</code> and <code>ecx</code>. <code>edx</code> is placed in the low half of the return value, and <code>ecx</code> is placed in the high half.</p>
<p>This method must only be called when <aclass="el"href="classcrashpad_1_1SystemSnapshot.html#a648208544d9aae4bed72731cfcb9c170"title="Returns the snapshot system’s CPU architecture. ">GetCPUArchitecture()</a> indicates an x86-family CPU architecture (<aclass="el"href="namespacecrashpad.html#a270e290ba558e948eb6690bd217cbb71a35adbd1bc0b19ef37c520d078cf0df15"title="32-bit x86. ">kCPUArchitectureX86</a> or <aclass="el"href="namespacecrashpad.html#a270e290ba558e948eb6690bd217cbb71addee685df867aea490719783e56baf0a"title="x86_64. ">kCPUArchitectureX86_64</a>).</p>
<aclass="el"href="classcrashpad_1_1SystemSnapshot.html#a6bc4988ded49fb7044e6a08bc2a359e1"title="Returns an x86-family snapshot system’s “leaf 7” CPU features. ">CPUX86Leaf7Features()</a></dd></dl>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#a51a7ba525d13205d9308aa3bb2a79390">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#acb941db0d16772749983b76a11c1df1d">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#adbb0135b28f886a07210221040b2c543">crashpad::internal::SystemSnapshotWin</a>.</p>
<p>Returns an x86-family snapshot system’s “leaf 7” CPU features. </p>
<p>This is the “leaf 7” feature information as encoded in <code>cpuid 7</code><code>ebx</code>. If <code>cpuid 7</code> is not supported by the snapshot CPU, this returns <code>0</code>.</p>
<p>This method must only be called when <aclass="el"href="classcrashpad_1_1SystemSnapshot.html#a648208544d9aae4bed72731cfcb9c170"title="Returns the snapshot system’s CPU architecture. ">GetCPUArchitecture()</a> indicates an x86-family CPU architecture (<aclass="el"href="namespacecrashpad.html#a270e290ba558e948eb6690bd217cbb71a35adbd1bc0b19ef37c520d078cf0df15"title="32-bit x86. ">kCPUArchitectureX86</a> or <aclass="el"href="namespacecrashpad.html#a270e290ba558e948eb6690bd217cbb71addee685df867aea490719783e56baf0a"title="x86_64. ">kCPUArchitectureX86_64</a>).</p>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="classcrashpad_1_1SystemSnapshot.html#a75a70dab05b1b393b7f46d46cab4582e"title="Returns an x86-family snapshot system’s CPU features. ">CPUX86Features()</a></dd>
<aclass="el"href="classcrashpad_1_1SystemSnapshot.html#a4ed18f9ebb87849c41d0da205f8dfbf6"title="Returns an x86-family snapshot system’s extended CPU features. ">CPUX86ExtendedFeatures()</a></dd></dl>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#a8f1387715f3202e85a2559163e0c00dd">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#adbc7cbac6e5d7acd8a8ebe5004a9175b">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#a5e8f9c49f04abe1767f9207193527996">crashpad::internal::SystemSnapshotWin</a>.</p>
<p>This method must only be called when <aclass="el"href="classcrashpad_1_1SystemSnapshot.html#a648208544d9aae4bed72731cfcb9c170"title="Returns the snapshot system’s CPU architecture. ">GetCPUArchitecture()</a> indicates an x86-family CPU architecture (<aclass="el"href="namespacecrashpad.html#a270e290ba558e948eb6690bd217cbb71a35adbd1bc0b19ef37c520d078cf0df15"title="32-bit x86. ">kCPUArchitectureX86</a> or <aclass="el"href="namespacecrashpad.html#a270e290ba558e948eb6690bd217cbb71addee685df867aea490719783e56baf0a"title="x86_64. ">kCPUArchitectureX86_64</a>).</p>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#ad46752604b3ee311b1224709d6dd138d">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#a114a1cc323ae501d498685e002d42d2f">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#a128923e064d774b2ab99f249918f65d5">crashpad::internal::SystemSnapshotWin</a>.</p>
<p>Returns an x86-family snapshot system’s CPU’s support for the SSE DAZ (“denormals are zeros”) mode. </p>
<p>This determines whether the CPU supports DAZ mode at all, not whether this mode is enabled for any particular thread. DAZ mode support is detected by examining the DAZ bit in the <code>mxcsr_mask</code> field of the floating-point context saved by <code>fxsave</code>.</p>
<p>This method must only be called when <aclass="el"href="classcrashpad_1_1SystemSnapshot.html#a648208544d9aae4bed72731cfcb9c170"title="Returns the snapshot system’s CPU architecture. ">GetCPUArchitecture()</a> indicates an x86-family CPU architecture (<aclass="el"href="namespacecrashpad.html#a270e290ba558e948eb6690bd217cbb71a35adbd1bc0b19ef37c520d078cf0df15"title="32-bit x86. ">kCPUArchitectureX86</a> or <aclass="el"href="namespacecrashpad.html#a270e290ba558e948eb6690bd217cbb71addee685df867aea490719783e56baf0a"title="x86_64. ">kCPUArchitectureX86_64</a>).</p>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if the snapshot system’s CPUs support the SSE DAZ mode, <code>false</code> if they do not. </dd></dl>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#a14b83dcbcdbb71082b46db45e8a751fd">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#a448cb3fea147006e1f8828f226dc6642">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#aa31b4f260ea4d6f8e7414ed823ac85b4">crashpad::internal::SystemSnapshotWin</a>.</p>
<p>In some cases, a system may be able to run processes of multiple specific architecture types. For example, systems based on 64-bit architectures such as x86_64 are often able to run 32-bit code of another architecture in the same family, such as 32-bit x86. On these systems, this method will return the architecture of the process that the snapshot is associated with, provided that the <aclass="el"href="classcrashpad_1_1SystemSnapshot.html"title="An abstract interface to a snapshot representing the state of a system, comprising an operating syste...">SystemSnapshot</a> object was obtained from <aclass="el"href="classcrashpad_1_1ProcessSnapshot.html#ac5b07daec385ab21d6e1e82d56677960"title="Returns a SystemSnapshot reflecting the characteristics of the system that ran the snapshot process a...">ProcessSnapshot::System()</a>. This renders one aspect of this method’s return value a process attribute rather than a system attribute, but it’s defined here rather than in <aclass="el"href="classcrashpad_1_1ProcessSnapshot.html"title="An abstract interface to a snapshot representing the state of a process. ">ProcessSnapshot</a> because the CPU architecture is a better conceptual fit for the system abstraction alongside these other related methods. </p>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#abf9eeb54511b969bcaf4c4427ae99c4d">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#a6edc3a4f2ecc2008d70d3f7349f31053">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#ae16786eb68dc59085d74b177fffe791a">crashpad::internal::SystemSnapshotWin</a>.</p>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#a88597dace697f941d8d2d33754f04b58">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#a437c61c4e98c72121eed75a32d578766">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#aef61327d1bb88cbcef507fb2c80f27b5">crashpad::internal::SystemSnapshotWin</a>.</p>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#aaa56def2c318041185c6d14a41840fd5">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#a6cf7a53f27f98f1bc2042326d179e582">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#a8c97b0cb8257d9bac1e12f80dfaa0de6">crashpad::internal::SystemSnapshotWin</a>.</p>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">major</td><td>The snapshot system’s operating system’s first (major) version number component. This would be <code>10</code> for macOS 10.12.1, and <code>6</code> for Windows 7 (NT 6.1) SP1 version 6.1.7601. </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">minor</td><td>The snapshot system’s operating system’s second (minor) version number component. This would be <code>12</code> for macOS 10.12.1, and <code>1</code> for Windows 7 (NT 6.1) SP1 version 6.1.7601. </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">bugfix</td><td>The snapshot system’s operating system’s third (bugfix) version number component. This would be <code>1</code> for macOS 10.12.1, and <code>7601</code> for Windows 7 (NT 6.1) SP1 version 6.1.7601. </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">build</td><td>A string further identifying an operating system version. For macOS 10.12.1, this would be <code>"16B2657"</code>. For Windows, this would be <code>"Service Pack 1"</code> if that service pack was installed. On Android, the <code>ro.build.fingerprint</code> system property would be appended. For Linux and other Unix-like systems, this would be the kernel version from <code>uname -srvm</code>, possibly with additional information appended. </td></tr>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#adefe16c2e6559478a5010c4b7511ea0e">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#a5d3a4d6f6b8c1d10086423ae3e4c87f0">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#a9e87da3d934abc13bdbeb1204dd97bea">crashpad::internal::SystemSnapshotWin</a>.</p>
<p>For macOS, the string contains values from the operating system and kernel. A macOS 10.12.1 system snapshot would be identified as `"Mac OS X 10.12.1 (16B2657); Darwin 16.1.0 Darwin Kernel Version 16.1.0: Wed Oct 19 20:31:56 PDT 2016; root:xnu-3789.21.4~4/RELEASE_X86_64 x86_64"`. </p>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestSystemSnapshot.html#a865421171daa5c5c4348116e8689acb7">crashpad::test::TestSystemSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#aea3068f020e3d83e316e875762dff5a1">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#afe5d5ef193d03d93ee9fd10dc88a642a">crashpad::internal::SystemSnapshotWin</a>.</p>
<p>Returns time zone information from the snapshot system, based on its locale configuration and real-time clock. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">dst_status</td><td>Whether the location observes daylight saving time, and if so, whether it or standard time is currently being observed. </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">standard_offset_seconds</td><td>The number of seconds that the location’s time zone is east (ahead) of UTC during standard time. </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">daylight_offset_seconds</td><td>The number of seconds that the location’s time zone is east (ahead) of UTC during daylight saving. time. </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">standard_name</td><td>The name of the time zone while standard time is being observed. </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">daylight_name</td><td>The name of the time zone while daylight saving time is being observed. </td></tr>
<p>Implemented in <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotMac.html#a44c833dd1344a4020ff36fbe2fe33e87">crashpad::internal::SystemSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1SystemSnapshotWin.html#a891f3627dc14992dd898fe4eda5726c9">crashpad::internal::SystemSnapshotWin</a>.</p>