1
2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3<html><head><title>Python: module telemetry.internal.platform.gpu_info</title>
4<meta charset="utf-8">
5</head><body bgcolor="#f0f0f8">
6
7<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
8<tr bgcolor="#7799ee">
9<td valign=bottom>&nbsp;<br>
10<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.platform.html"><font color="#ffffff">platform</font></a>.gpu_info</strong></big></big></font></td
11><td align=right valign=bottom
12><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/platform/gpu_info.py">telemetry/internal/platform/gpu_info.py</a></font></td></tr></table>
13    <p><tt>#&nbsp;Copyright&nbsp;2013&nbsp;The&nbsp;Chromium&nbsp;Authors.&nbsp;All&nbsp;rights&nbsp;reserved.<br>
14#&nbsp;Use&nbsp;of&nbsp;this&nbsp;source&nbsp;code&nbsp;is&nbsp;governed&nbsp;by&nbsp;a&nbsp;BSD-style&nbsp;license&nbsp;that&nbsp;can&nbsp;be<br>
15#&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;file.</tt></p>
16<p>
17<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
18<tr bgcolor="#aa55cc">
19<td colspan=3 valign=bottom>&nbsp;<br>
20<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
21
22<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
23<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.internal.platform.gpu_device.html">telemetry.internal.platform.gpu_device</a><br>
24</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
25<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
26<tr bgcolor="#ee77aa">
27<td colspan=3 valign=bottom>&nbsp;<br>
28<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
29
30<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
31<td width="100%"><dl>
32<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
33</font></dt><dd>
34<dl>
35<dt><font face="helvetica, arial"><a href="telemetry.internal.platform.gpu_info.html#GPUInfo">GPUInfo</a>
36</font></dt></dl>
37</dd>
38</dl>
39 <p>
40<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
41<tr bgcolor="#ffc8d8">
42<td colspan=3 valign=bottom>&nbsp;<br>
43<font color="#000000" face="helvetica, arial"><a name="GPUInfo">class <strong>GPUInfo</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
44
45<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
46<td colspan=2><tt>Provides&nbsp;information&nbsp;about&nbsp;the&nbsp;GPUs&nbsp;on&nbsp;the&nbsp;system.<br>&nbsp;</tt></td></tr>
47<tr><td>&nbsp;</td>
48<td width="100%">Methods defined here:<br>
49<dl><dt><a name="GPUInfo-__init__"><strong>__init__</strong></a>(self, device_array, aux_attributes, feature_status, driver_bug_workarounds)</dt></dl>
50
51<hr>
52Class methods defined here:<br>
53<dl><dt><a name="GPUInfo-FromDict"><strong>FromDict</strong></a>(cls, attrs)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt><dd><tt>Constructs&nbsp;a&nbsp;<a href="#GPUInfo">GPUInfo</a>&nbsp;from&nbsp;a&nbsp;dictionary&nbsp;of&nbsp;attributes.<br>
54&nbsp;<br>
55Attributes&nbsp;currently&nbsp;required&nbsp;to&nbsp;be&nbsp;present&nbsp;in&nbsp;the&nbsp;dictionary:<br>
56&nbsp;&nbsp;devices&nbsp;(array&nbsp;of&nbsp;dictionaries,&nbsp;each&nbsp;of&nbsp;which&nbsp;contains<br>
57&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GPUDevice's&nbsp;required&nbsp;attributes)</tt></dd></dl>
58
59<hr>
60Data descriptors defined here:<br>
61<dl><dt><strong>__dict__</strong></dt>
62<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
63</dl>
64<dl><dt><strong>__weakref__</strong></dt>
65<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
66</dl>
67<dl><dt><strong>aux_attributes</strong></dt>
68<dd><tt>Returns&nbsp;a&nbsp;dictionary&nbsp;of&nbsp;auxiliary,&nbsp;optional,&nbsp;attributes.<br>
69&nbsp;<br>
70On&nbsp;the&nbsp;Chrome&nbsp;browser,&nbsp;for&nbsp;example,&nbsp;this&nbsp;dictionary&nbsp;contains:<br>
71&nbsp;&nbsp;optimus&nbsp;(boolean)<br>
72&nbsp;&nbsp;amd_switchable&nbsp;(boolean)<br>
73&nbsp;&nbsp;lenovo_dcute&nbsp;(boolean)<br>
74&nbsp;&nbsp;driver_vendor&nbsp;(string)<br>
75&nbsp;&nbsp;driver_version&nbsp;(string)<br>
76&nbsp;&nbsp;driver_date&nbsp;(string)<br>
77&nbsp;&nbsp;gl_version_string&nbsp;(string)<br>
78&nbsp;&nbsp;gl_vendor&nbsp;(string)<br>
79&nbsp;&nbsp;gl_renderer&nbsp;(string)<br>
80&nbsp;&nbsp;gl_extensions&nbsp;(string)<br>
81&nbsp;&nbsp;display_link_version&nbsp;(string)</tt></dd>
82</dl>
83<dl><dt><strong>devices</strong></dt>
84<dd><tt>An&nbsp;array&nbsp;of&nbsp;GPUDevices.&nbsp;Element&nbsp;0&nbsp;is&nbsp;the&nbsp;primary&nbsp;GPU&nbsp;on&nbsp;the&nbsp;system.</tt></dd>
85</dl>
86<dl><dt><strong>driver_bug_workarounds</strong></dt>
87<dd><tt>Returns&nbsp;an&nbsp;optional&nbsp;array&nbsp;of&nbsp;driver&nbsp;bug&nbsp;workarounds.</tt></dd>
88</dl>
89<dl><dt><strong>feature_status</strong></dt>
90<dd><tt>Returns&nbsp;an&nbsp;optional&nbsp;dictionary&nbsp;of&nbsp;graphics&nbsp;features&nbsp;and&nbsp;their&nbsp;status.</tt></dd>
91</dl>
92</td></tr></table></td></tr></table>
93</body></html>