Skip to content

Commit

Permalink
deploy: 131ede9
Browse files Browse the repository at this point in the history
  • Loading branch information
punkduckable committed Oct 29, 2024
1 parent d0aa2d7 commit a5bf2a9
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 3 deletions.
Binary file modified .doctrees/autoapi/lasdi/timing/index.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
23 changes: 23 additions & 0 deletions _sources/autoapi/lasdi/timing/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,30 @@ Module Contents

.. py:method:: export()
Export the list of jobs and their number of calls and total time
into a dictionary.

Note:
All jobs must be ended before calling this method.

Returns:
:obj:`dict` that contains "names", "calls", and "times" as keys



.. py:method:: load(dict_)
Load the list of jobs and their number of calls and total time
from a dictionary.

Args:
`dict_` (:obj:`dict`): Dictionary that contains the list of jobs and their calls and times.

Note:
:obj:`dict_['names']`, :obj:`dict_['calls']` and :obj:`dict_['times']` must have the same size.

Returns:
Does not return a value



22 changes: 20 additions & 2 deletions autoapi/lasdi/timing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,30 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Permalin
<dl class="py method">
<dt class="sig sig-object py" id="lasdi.timing.Timer.export">
<span class="sig-name descname"><span class="pre">export</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#lasdi.timing.Timer.export" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dd><p>Export the list of jobs and their number of calls and total time
into a dictionary.</p>
<dl class="simple">
<dt>Note:</dt><dd><p>All jobs must be ended before calling this method.</p>
</dd>
<dt>Returns:</dt><dd><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">dict</span></code> that contains “names”, “calls”, and “times” as keys</p>
</dd>
</dl>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="lasdi.timing.Timer.load">
<span class="sig-name descname"><span class="pre">load</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dict_</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lasdi.timing.Timer.load" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dd><p>Load the list of jobs and their number of calls and total time
from a dictionary.</p>
<dl class="simple">
<dt>Args:</dt><dd><p><cite>dict_</cite> (<code class="xref py py-obj docutils literal notranslate"><span class="pre">dict</span></code>): Dictionary that contains the list of jobs and their calls and times.</p>
</dd>
<dt>Note:</dt><dd><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">dict_['names']</span></code>, <code class="xref py py-obj docutils literal notranslate"><span class="pre">dict_['calls']</span></code> and <code class="xref py py-obj docutils literal notranslate"><span class="pre">dict_['times']</span></code> must have the same size.</p>
</dd>
<dt>Returns:</dt><dd><p>Does not return a value</p>
</dd>
</dl>
</dd></dl>

</dd></dl>

Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit a5bf2a9

Please sign in to comment.