1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>SanitizerApi: Sanitizer_EventData Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Sanitizer_EventData Struct Reference<br>
<small>
[<a class="el" href="group__SANITIZER__CALLBACK__API.html">Sanitizer Callback API</a>]</small>
</h1><!-- doxytag: class="Sanitizer_EventData" -->Data passed into an event callback function.
<a href="#_details">More...</a>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">CUcontext </td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__EventData.html#6da08037d5ae573a39e4f54183a6db35">context</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">CUevent </td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__EventData.html#480f9d5de7293e58e9d8bc24e873c843">event</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Sanitizer_StreamHandle </td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__EventData.html#2f6747e6a89033d27f91d7b72e5599be">hStream</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">CUstream </td><td class="memItemRight" valign="bottom"><a class="el" href="structSanitizer__EventData.html#96c543b1fdcbd06824271501fc8d1b89">stream</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Data passed into an event callback function as the <code>cbdata</code> argument to <a class="el" href="group__SANITIZER__CALLBACK__API.html#gf031ccd4dcc013ab017d9ee1032858c4">Sanitizer_CallbackFunc</a>. The <code>cbdata</code> will be this type for <code>domain</code> equal tp SANITIZER_CB_DOMAIN_EVENTS. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it. <hr><h2>Field Documentation</h2>
<a class="anchor" name="6da08037d5ae573a39e4f54183a6db35"></a><!-- doxytag: member="Sanitizer_EventData::context" ref="6da08037d5ae573a39e4f54183a6db35" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CUcontext <a class="el" href="structSanitizer__EventData.html#6da08037d5ae573a39e4f54183a6db35">Sanitizer_EventData::context</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
For SANITIZER_CBID_EVENTS_CREATED, SANITIZER_CBID_EVENTS_DESTROYED, and SANITIZER_CBID_EVENTS_SYNCHNONIZED, this is the context containing the event. For SANITIZER_CBID_EVENTS_RECORD and SANITIZER_CBID_EVENTS_STREAM_WAIT, this is the context containing the stream being recorded or waiting.
</div>
</div><p>
<a class="anchor" name="480f9d5de7293e58e9d8bc24e873c843"></a><!-- doxytag: member="Sanitizer_EventData::event" ref="480f9d5de7293e58e9d8bc24e873c843" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CUevent <a class="el" href="structSanitizer__EventData.html#480f9d5de7293e58e9d8bc24e873c843">Sanitizer_EventData::event</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The event recording or being waited.
</div>
</div><p>
<a class="anchor" name="2f6747e6a89033d27f91d7b72e5599be"></a><!-- doxytag: member="Sanitizer_EventData::hStream" ref="2f6747e6a89033d27f91d7b72e5599be" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Sanitizer_StreamHandle <a class="el" href="structSanitizer__EventData.html#2f6747e6a89033d27f91d7b72e5599be">Sanitizer_EventData::hStream</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Unique handle for the stream.
</div>
</div><p>
<a class="anchor" name="96c543b1fdcbd06824271501fc8d1b89"></a><!-- doxytag: member="Sanitizer_EventData::stream" ref="96c543b1fdcbd06824271501fc8d1b89" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CUstream <a class="el" href="structSanitizer__EventData.html#96c543b1fdcbd06824271501fc8d1b89">Sanitizer_EventData::stream</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The stream being recorded or waiting. Available if cbid is SANITIZER_CBID_EVENTS_RECORD or SANITIZER_CBID_EVENTS_STREAM_WAIT.
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Apr 15 23:05:33 2024 for SanitizerApi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>
|