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
|
<html>
<head>
<title>sdk/globals/include/NvBlastProfiler.h Source File</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
</head>
<body bgcolor="#FFFFFF">
<div id="header">
<hr class="first">
<img alt="" src="blast_logo.png">
<br>
<center>
<a class="qindex" href="main.html">Main Page</a>
<!-- <a class="qindex" href="hierarchy.html">Class Hierarchy</a> //-->
<a class="qindex" href="annotated.html">Class List</a>
<a class="qindex" href="functions.html">Class Members</a>
</center>
<hr class="second">
</div>
<!-- Generated by Doxygen 1.8.13 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_nv_blast_profiler_8h_source.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">NvBlastProfiler.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="_nv_blast_profiler_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// This code contains NVIDIA Confidential Information and is disclosed to you</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// under a form of NVIDIA software license agreement provided separately to you.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">//</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// Notice</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// NVIDIA Corporation and its licensors retain all intellectual property and</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// proprietary rights in and to this software and related documentation and</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// any modifications thereto. Any use, reproduction, disclosure, or</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// distribution of this software and related documentation without an express</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// license agreement from NVIDIA Corporation is strictly prohibited.</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">//</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">// Information and code furnished is believed to be accurate and reliable.</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">// information or for any infringement of patents or other rights of third parties that may</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">// result from its use. No license is granted by implication or otherwise under any patent</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">// or patent rights of NVIDIA Corporation. Details are subject to change without notice.</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">// This code supersedes and replaces all information previously supplied.</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">// NVIDIA Corporation products are not authorized for use as critical</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">// components in life support devices or systems without express written approval of</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">// NVIDIA Corporation.</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">//</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">// Copyright (c) 2016-2020 NVIDIA Corporation. All rights reserved.</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifndef NVBLASTPROFILER_H</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#define NVBLASTPROFILER_H</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="_nv_blast_preprocessor_8h.html">NvBlastPreprocessor.h</a>"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">namespace </span><a class="code" href="namespace_nv.html">Nv</a></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">namespace </span>Blast</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="class_nv_1_1_blast_1_1_profiler_callback.html"> 44</a></span> <span class="keyword">class </span><a class="code" href="class_nv_1_1_blast_1_1_profiler_callback.html">ProfilerCallback</a></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_nv_1_1_blast_1_1_profiler_callback.html#a6440efe8476a42a30dc27223027a9dd7"> 47</a></span>  <span class="keyword">virtual</span> <a class="code" href="class_nv_1_1_blast_1_1_profiler_callback.html#a6440efe8476a42a30dc27223027a9dd7">~ProfilerCallback</a>() {}</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_nv_1_1_blast_1_1_profiler_callback.html#a48e8eda29ebed223a7d2283d5bb99ec6">zoneStart</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name) = 0;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_nv_1_1_blast_1_1_profiler_callback.html#a96bc5661f2d7eae63a86fcd9f3e44b49">zoneEnd</a>() = 0;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> };</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="struct_nv_1_1_blast_1_1_profiler_detail.html"> 65</a></span> <span class="keyword">struct </span><a class="code" href="struct_nv_1_1_blast_1_1_profiler_detail.html">ProfilerDetail</a></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> {</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="struct_nv_1_1_blast_1_1_profiler_detail.html#a06be79d41391dfde43f6aa02866a3c1f"> 67</a></span>  <span class="keyword">enum</span> <a class="code" href="struct_nv_1_1_blast_1_1_profiler_detail.html#a06be79d41391dfde43f6aa02866a3c1f">Level</a></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  {</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="struct_nv_1_1_blast_1_1_profiler_detail.html#a06be79d41391dfde43f6aa02866a3c1fa26c8a44b1b01cd578f4121e60acf62bc"> 69</a></span>  <a class="code" href="struct_nv_1_1_blast_1_1_profiler_detail.html#a06be79d41391dfde43f6aa02866a3c1fa26c8a44b1b01cd578f4121e60acf62bc">LOW</a>,</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="struct_nv_1_1_blast_1_1_profiler_detail.html#a06be79d41391dfde43f6aa02866a3c1faa045a667a2428770e974158ff5c3f721"> 70</a></span>  <a class="code" href="struct_nv_1_1_blast_1_1_profiler_detail.html#a06be79d41391dfde43f6aa02866a3c1faa045a667a2428770e974158ff5c3f721">MEDIUM</a>,</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="struct_nv_1_1_blast_1_1_profiler_detail.html#a06be79d41391dfde43f6aa02866a3c1fa39c81d6175ee0aa27db53d0cd7e944e3"> 71</a></span>  HIGH</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  };</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> };</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> } <span class="comment">// namespace Blast</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> } <span class="comment">// namespace Nv</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <a class="code" href="_nv_blast_preprocessor_8h.html#ae5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">void</span> <a class="code" href="_nv_blast_profiler_8h.html#afba345e0f5a9689ded425622ea9a659b">NvBlastProfilerSetCallback</a>(<a class="code" href="class_nv_1_1_blast_1_1_profiler_callback.html">Nv::Blast::ProfilerCallback</a>* pcb);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <a class="code" href="_nv_blast_preprocessor_8h.html#ae5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a> <span class="keywordtype">void</span> <a class="code" href="_nv_blast_profiler_8h.html#a13f57e40a8f414e4004336f0ed82c540">NvBlastProfilerSetDetail</a>(<a class="code" href="struct_nv_1_1_blast_1_1_profiler_detail.html#a06be79d41391dfde43f6aa02866a3c1f">Nv::Blast::ProfilerDetail::Level</a>);</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="class_nv_1_1_blast_1_1_profiler_callback_html_a48e8eda29ebed223a7d2283d5bb99ec6"><div class="ttname"><a href="class_nv_1_1_blast_1_1_profiler_callback.html#a48e8eda29ebed223a7d2283d5bb99ec6">Nv::Blast::ProfilerCallback::zoneStart</a></div><div class="ttdeci">virtual void zoneStart(const char *name)=0</div></div>
<div class="ttc" id="class_nv_1_1_blast_1_1_profiler_callback_html_a6440efe8476a42a30dc27223027a9dd7"><div class="ttname"><a href="class_nv_1_1_blast_1_1_profiler_callback.html#a6440efe8476a42a30dc27223027a9dd7">Nv::Blast::ProfilerCallback::~ProfilerCallback</a></div><div class="ttdeci">virtual ~ProfilerCallback()</div><div class="ttdef"><b>Definition:</b> NvBlastProfiler.h:47</div></div>
<div class="ttc" id="_nv_blast_profiler_8h_html_a13f57e40a8f414e4004336f0ed82c540"><div class="ttname"><a href="_nv_blast_profiler_8h.html#a13f57e40a8f414e4004336f0ed82c540">NvBlastProfilerSetDetail</a></div><div class="ttdeci">void NvBlastProfilerSetDetail(Nv::Blast::ProfilerDetail::Level)</div></div>
<div class="ttc" id="class_nv_1_1_blast_1_1_profiler_callback_html_a96bc5661f2d7eae63a86fcd9f3e44b49"><div class="ttname"><a href="class_nv_1_1_blast_1_1_profiler_callback.html#a96bc5661f2d7eae63a86fcd9f3e44b49">Nv::Blast::ProfilerCallback::zoneEnd</a></div><div class="ttdeci">virtual void zoneEnd()=0</div></div>
<div class="ttc" id="struct_nv_1_1_blast_1_1_profiler_detail_html_a06be79d41391dfde43f6aa02866a3c1fa26c8a44b1b01cd578f4121e60acf62bc"><div class="ttname"><a href="struct_nv_1_1_blast_1_1_profiler_detail.html#a06be79d41391dfde43f6aa02866a3c1fa26c8a44b1b01cd578f4121e60acf62bc">Nv::Blast::ProfilerDetail::LOW</a></div><div class="ttdef"><b>Definition:</b> NvBlastProfiler.h:69</div></div>
<div class="ttc" id="struct_nv_1_1_blast_1_1_profiler_detail_html_a06be79d41391dfde43f6aa02866a3c1f"><div class="ttname"><a href="struct_nv_1_1_blast_1_1_profiler_detail.html#a06be79d41391dfde43f6aa02866a3c1f">Nv::Blast::ProfilerDetail::Level</a></div><div class="ttdeci">Level</div><div class="ttdef"><b>Definition:</b> NvBlastProfiler.h:67</div></div>
<div class="ttc" id="_nv_blast_preprocessor_8h_html_ae5c980f1b9848025a2fefa05a9d3bce1"><div class="ttname"><a href="_nv_blast_preprocessor_8h.html#ae5c980f1b9848025a2fefa05a9d3bce1">NVBLAST_API</a></div><div class="ttdeci">#define NVBLAST_API</div><div class="ttdef"><b>Definition:</b> NvBlastPreprocessor.h:37</div></div>
<div class="ttc" id="class_nv_1_1_blast_1_1_profiler_callback_html"><div class="ttname"><a href="class_nv_1_1_blast_1_1_profiler_callback.html">Nv::Blast::ProfilerCallback</a></div><div class="ttdef"><b>Definition:</b> NvBlastProfiler.h:44</div></div>
<div class="ttc" id="struct_nv_1_1_blast_1_1_profiler_detail_html_a06be79d41391dfde43f6aa02866a3c1faa045a667a2428770e974158ff5c3f721"><div class="ttname"><a href="struct_nv_1_1_blast_1_1_profiler_detail.html#a06be79d41391dfde43f6aa02866a3c1faa045a667a2428770e974158ff5c3f721">Nv::Blast::ProfilerDetail::MEDIUM</a></div><div class="ttdef"><b>Definition:</b> NvBlastProfiler.h:70</div></div>
<div class="ttc" id="struct_nv_1_1_blast_1_1_profiler_detail_html"><div class="ttname"><a href="struct_nv_1_1_blast_1_1_profiler_detail.html">Nv::Blast::ProfilerDetail</a></div><div class="ttdef"><b>Definition:</b> NvBlastProfiler.h:65</div></div>
<div class="ttc" id="_nv_blast_profiler_8h_html_afba345e0f5a9689ded425622ea9a659b"><div class="ttname"><a href="_nv_blast_profiler_8h.html#afba345e0f5a9689ded425622ea9a659b">NvBlastProfilerSetCallback</a></div><div class="ttdeci">void NvBlastProfilerSetCallback(Nv::Blast::ProfilerCallback *pcb)</div></div>
<div class="ttc" id="namespace_nv_html"><div class="ttname"><a href="namespace_nv.html">Nv</a></div><div class="ttdef"><b>Definition:</b> NvBlastExtAuthoring.h:34</div></div>
<div class="ttc" id="_nv_blast_preprocessor_8h_html"><div class="ttname"><a href="_nv_blast_preprocessor_8h.html">NvBlastPreprocessor.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div class="footer">
Copyright © 2015-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
</div>
</body>
</html>
|