新增doc
This commit is contained in:
@@ -0,0 +1,794 @@
|
||||
<!doctype html>
|
||||
<html class="default no-js">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Stopwatch | @esengine/egret-framework</title>
|
||||
<meta name="description" content="Documentation for @esengine/egret-framework">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="../assets/css/main.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="tsd-page-toolbar">
|
||||
<div class="container">
|
||||
<div class="table-wrap">
|
||||
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
||||
<div class="field">
|
||||
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
||||
<input id="tsd-search-field" type="text" />
|
||||
</div>
|
||||
<ul class="results">
|
||||
<li class="state loading">Preparing search index...</li>
|
||||
<li class="state failure">The search index is not available</li>
|
||||
</ul>
|
||||
<a href="../index.html" class="title">@esengine/egret-framework</a>
|
||||
</div>
|
||||
<div class="table-cell" id="tsd-widgets">
|
||||
<div id="tsd-filter">
|
||||
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
||||
<div class="tsd-filter-group">
|
||||
<div class="tsd-select" id="tsd-filter-visibility">
|
||||
<span class="tsd-select-label">All</span>
|
||||
<ul class="tsd-select-list">
|
||||
<li data-value="public">Public</li>
|
||||
<li data-value="protected">Public/Protected</li>
|
||||
<li data-value="private" class="selected">All</li>
|
||||
</ul>
|
||||
</div>
|
||||
<input type="checkbox" id="tsd-filter-inherited" checked />
|
||||
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
||||
<input type="checkbox" id="tsd-filter-externals" checked />
|
||||
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
||||
<input type="checkbox" id="tsd-filter-only-exported" />
|
||||
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
|
||||
</div>
|
||||
</div>
|
||||
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tsd-page-title">
|
||||
<div class="container">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li>
|
||||
<a href="../globals.html">Globals</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../modules/_utils_analysis_stopwatch_.html">"Utils/Analysis/Stopwatch"</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../modules/_utils_analysis_stopwatch_.stopwatch.html">stopwatch</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html">Stopwatch</a>
|
||||
</li>
|
||||
</ul>
|
||||
<h1>Class Stopwatch</h1>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="container container-main">
|
||||
<div class="row">
|
||||
<div class="col-8 col-content">
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>记录时间的持续时间,一些设计灵感来自物理秒表。</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h3>Hierarchy</h3>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li>
|
||||
<span class="target">Stopwatch</span>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<h2>Index</h2>
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<div class="tsd-index-content">
|
||||
<section class="tsd-index-section ">
|
||||
<h3>Constructors</h3>
|
||||
<ul class="tsd-index-list">
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#constructor" class="tsd-kind-icon">constructor</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-index-section tsd-is-private tsd-is-private-protected">
|
||||
<h3>Properties</h3>
|
||||
<ul class="tsd-index-list">
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#_completeslices" class="tsd-kind-icon">_complete<wbr>Slices</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#_pendingslicestartstopwatchtime" class="tsd-kind-icon">_pending<wbr>Slice<wbr>Start<wbr>Stopwatch<wbr>Time</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#_startsystemtime" class="tsd-kind-icon">_start<wbr>System<wbr>Time</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#_stopduration" class="tsd-kind-icon">_stop<wbr>Duration</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#_stopsystemtime" class="tsd-kind-icon">_stop<wbr>System<wbr>Time</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#getsystemtime" class="tsd-kind-icon">get<wbr>System<wbr>Time</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-index-section ">
|
||||
<h3>Methods</h3>
|
||||
<ul class="tsd-index-list">
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#caculatestopwatchtime" class="tsd-kind-icon">caculate<wbr>Stopwatch<wbr>Time</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#calculatependingslice" class="tsd-kind-icon">calculate<wbr>Pending<wbr>Slice</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#getcompletedandpendingslices" class="tsd-kind-icon">get<wbr>Completed<wbr>And<wbr>Pending<wbr>Slices</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#getcompletedslices" class="tsd-kind-icon">get<wbr>Completed<wbr>Slices</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#getpendingslice" class="tsd-kind-icon">get<wbr>Pending<wbr>Slice</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#getstate" class="tsd-kind-icon">get<wbr>State</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#getsystemtimeofcurrentstopwatchtime" class="tsd-kind-icon">get<wbr>System<wbr>Time<wbr>OfCurrent<wbr>Stopwatch<wbr>Time</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#gettime" class="tsd-kind-icon">get<wbr>Time</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#isidle" class="tsd-kind-icon">is<wbr>Idle</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#isrunning" class="tsd-kind-icon">is<wbr>Running</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#isstopped" class="tsd-kind-icon">is<wbr>Stopped</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#recordpendingslice" class="tsd-kind-icon">record<wbr>Pending<wbr>Slice</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#reset" class="tsd-kind-icon">reset</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#slice" class="tsd-kind-icon">slice</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#start" class="tsd-kind-icon">start</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#stop" class="tsd-kind-icon">stop</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<section class="tsd-panel-group tsd-member-group ">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
|
||||
<a name="constructor" class="tsd-anchor"></a>
|
||||
<h3>constructor</h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">new <wbr>Stopwatch<span class="tsd-signature-symbol">(</span>getSystemTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html" class="tsd-signature-type">Stopwatch</a></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L26">src/Utils/Analysis/Stopwatch.ts:26</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> getSystemTime: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = _defaultSystemTimeGetter</span></h5>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-kind-type-literal">
|
||||
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html" class="tsd-signature-type">Stopwatch</a></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</section>
|
||||
<section class="tsd-panel-group tsd-member-group tsd-is-private tsd-is-private-protected">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||
<a name="_completeslices" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> _complete<wbr>Slices</h3>
|
||||
<div class="tsd-signature tsd-kind-icon">_complete<wbr>Slices<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L26">src/Utils/Analysis/Stopwatch.ts:26</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>记录自上次复位以来所有已完成切片的结果。</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||
<a name="_pendingslicestartstopwatchtime" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> _pending<wbr>Slice<wbr>Start<wbr>Stopwatch<wbr>Time</h3>
|
||||
<div class="tsd-signature tsd-kind-icon">_pending<wbr>Slice<wbr>Start<wbr>Stopwatch<wbr>Time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L22">src/Utils/Analysis/Stopwatch.ts:22</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>用秒表计时,当前等待的切片开始的时间。
|
||||
undefined,如果秒表尚未启动,或已复位。</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||
<a name="_startsystemtime" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> _start<wbr>System<wbr>Time</h3>
|
||||
<div class="tsd-signature tsd-kind-icon">_start<wbr>System<wbr>Time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L10">src/Utils/Analysis/Stopwatch.ts:10</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>秒表启动的系统时间。
|
||||
undefined,如果秒表尚未启动,或已复位。</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||
<a name="_stopduration" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> _stop<wbr>Duration</h3>
|
||||
<div class="tsd-signature tsd-kind-icon">_stop<wbr>Duration<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L17">src/Utils/Analysis/Stopwatch.ts:17</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>自上次复位以来,秒表已停止的系统时间总数。</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||
<a name="_stopsystemtime" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> _stop<wbr>System<wbr>Time</h3>
|
||||
<div class="tsd-signature tsd-kind-icon">_stop<wbr>System<wbr>Time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">undefined</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L15">src/Utils/Analysis/Stopwatch.ts:15</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>秒表停止的系统时间。
|
||||
undefined,如果秒表目前没有停止,尚未开始,或已复位。</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||
<a name="getsystemtime" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> get<wbr>System<wbr>Time</h3>
|
||||
<div class="tsd-signature tsd-kind-icon">get<wbr>System<wbr>Time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">number</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L28">src/Utils/Analysis/Stopwatch.ts:28</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-type-declaration">
|
||||
<h4>Type declaration</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li class="tsd-parameter-signature">
|
||||
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<section class="tsd-panel-group tsd-member-group ">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<a name="caculatestopwatchtime" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> caculate<wbr>Stopwatch<wbr>Time</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<li class="tsd-signature tsd-kind-icon">caculate<wbr>Stopwatch<wbr>Time<span class="tsd-signature-symbol">(</span>endSystemTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L162">src/Utils/Analysis/Stopwatch.ts:162</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>计算指定系统时间的当前秒表时间。</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagOptional">Optional</span> endSystemTime: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<a name="calculatependingslice" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> calculate<wbr>Pending<wbr>Slice</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<li class="tsd-signature tsd-kind-icon">calculate<wbr>Pending<wbr>Slice<span class="tsd-signature-symbol">(</span>endStopwatchTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L142">src/Utils/Analysis/Stopwatch.ts:142</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>计算指定秒表时间的当前挂起片。</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagOptional">Optional</span> endStopwatchTime: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||
<a name="getcompletedandpendingslices" class="tsd-anchor"></a>
|
||||
<h3>get<wbr>Completed<wbr>And<wbr>Pending<wbr>Slices</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">get<wbr>Completed<wbr>And<wbr>Pending<wbr>Slices<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a><span class="tsd-signature-symbol">[]</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L70">src/Utils/Analysis/Stopwatch.ts:70</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>获取自上次重置以来该秒表已完成/记录的所有片的列表,以及当前挂起的片。</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a><span class="tsd-signature-symbol">[]</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||
<a name="getcompletedslices" class="tsd-anchor"></a>
|
||||
<h3>get<wbr>Completed<wbr>Slices</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">get<wbr>Completed<wbr>Slices<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a><span class="tsd-signature-symbol">[]</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L63">src/Utils/Analysis/Stopwatch.ts:63</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>获取自上次复位以来该秒表已完成/记录的所有片的列表。</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a><span class="tsd-signature-symbol">[]</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||
<a name="getpendingslice" class="tsd-anchor"></a>
|
||||
<h3>get<wbr>Pending<wbr>Slice</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">get<wbr>Pending<wbr>Slice<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L77">src/Utils/Analysis/Stopwatch.ts:77</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>获取关于这个秒表当前挂起的切片的详细信息。</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||
<a name="getstate" class="tsd-anchor"></a>
|
||||
<h3>get<wbr>State</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">get<wbr>State<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/_utils_analysis_stopwatch_.stopwatch.state.html#idle" class="tsd-signature-type">IDLE</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_utils_analysis_stopwatch_.stopwatch.state.html#running" class="tsd-signature-type">RUNNING</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_utils_analysis_stopwatch_.stopwatch.state.html#stopped" class="tsd-signature-type">STOPPED</a></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L31">src/Utils/Analysis/Stopwatch.ts:31</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../enums/_utils_analysis_stopwatch_.stopwatch.state.html#idle" class="tsd-signature-type">IDLE</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_utils_analysis_stopwatch_.stopwatch.state.html#running" class="tsd-signature-type">RUNNING</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_utils_analysis_stopwatch_.stopwatch.state.html#stopped" class="tsd-signature-type">STOPPED</a></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<a name="getsystemtimeofcurrentstopwatchtime" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> get<wbr>System<wbr>Time<wbr>OfCurrent<wbr>Stopwatch<wbr>Time</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<li class="tsd-signature tsd-kind-icon">get<wbr>System<wbr>Time<wbr>OfCurrent<wbr>Stopwatch<wbr>Time<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L176">src/Utils/Analysis/Stopwatch.ts:176</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>获取与当前秒表时间等效的系统时间。
|
||||
如果该秒表当前停止,则返回该秒表停止时的系统时间。</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||
<a name="gettime" class="tsd-anchor"></a>
|
||||
<h3>get<wbr>Time</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">get<wbr>Time<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L84">src/Utils/Analysis/Stopwatch.ts:84</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>获取当前秒表时间。这是这个秒表自上次复位以来运行的系统时间总数。</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||
<a name="isidle" class="tsd-anchor"></a>
|
||||
<h3>is<wbr>Idle</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">is<wbr>Idle<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L41">src/Utils/Analysis/Stopwatch.ts:41</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||
<a name="isrunning" class="tsd-anchor"></a>
|
||||
<h3>is<wbr>Running</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">is<wbr>Running<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L45">src/Utils/Analysis/Stopwatch.ts:45</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||
<a name="isstopped" class="tsd-anchor"></a>
|
||||
<h3>is<wbr>Stopped</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">is<wbr>Stopped<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L49">src/Utils/Analysis/Stopwatch.ts:49</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<a name="recordpendingslice" class="tsd-anchor"></a>
|
||||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> record<wbr>Pending<wbr>Slice</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<li class="tsd-signature tsd-kind-icon">record<wbr>Pending<wbr>Slice<span class="tsd-signature-symbol">(</span>endStopwatchTime<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L184">src/Utils/Analysis/Stopwatch.ts:184</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>结束/记录当前挂起的片的私有实现。</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagOptional">Optional</span> endStopwatchTime: <span class="tsd-signature-type">number</span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||
<a name="reset" class="tsd-anchor"></a>
|
||||
<h3>reset</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">reset<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L91">src/Utils/Analysis/Stopwatch.ts:91</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>完全重置这个秒表到它的初始状态。清除所有记录的运行持续时间、切片等。</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||
<a name="slice" class="tsd-anchor"></a>
|
||||
<h3>slice</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">slice<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L56">src/Utils/Analysis/Stopwatch.ts:56</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-signature-type">Slice</a></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||
<a name="start" class="tsd-anchor"></a>
|
||||
<h3>start</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">start<span class="tsd-signature-symbol">(</span>forceReset<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L101">src/Utils/Analysis/Stopwatch.ts:101</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>开始(或继续)运行秒表。</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> forceReset: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||
<a name="stop" class="tsd-anchor"></a>
|
||||
<h3>stop</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-kind-icon">stop<span class="tsd-signature-symbol">(</span>recordPendingSlice<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/Utils/Analysis/Stopwatch.ts#L123">src/Utils/Analysis/Stopwatch.ts:123</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> recordPendingSlice: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</section>
|
||||
</div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<nav class="tsd-navigation primary">
|
||||
<ul>
|
||||
<li class="globals ">
|
||||
<a href="../globals.html"><em>Globals</em></a>
|
||||
</li>
|
||||
<li class="current tsd-kind-module">
|
||||
<a href="../modules/_utils_analysis_stopwatch_.html">"<wbr>Utils/<wbr>Analysis/<wbr>Stopwatch"</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-namespace tsd-parent-kind-module">
|
||||
<a href="../modules/_utils_analysis_stopwatch_.stopwatch.html">stopwatch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul class="before-current">
|
||||
<li class=" tsd-kind-enum tsd-parent-kind-namespace tsd-is-not-exported">
|
||||
<a href="../enums/_utils_analysis_stopwatch_.stopwatch.state.html" class="tsd-kind-icon">State</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="current">
|
||||
<li class="current tsd-kind-class tsd-parent-kind-namespace">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html" class="tsd-kind-icon">Stopwatch</a>
|
||||
<ul>
|
||||
<li class=" tsd-kind-constructor tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#constructor" class="tsd-kind-icon">constructor</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#_completeslices" class="tsd-kind-icon">_complete<wbr>Slices</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#_pendingslicestartstopwatchtime" class="tsd-kind-icon">_pending<wbr>Slice<wbr>Start<wbr>Stopwatch<wbr>Time</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#_startsystemtime" class="tsd-kind-icon">_start<wbr>System<wbr>Time</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#_stopduration" class="tsd-kind-icon">_stop<wbr>Duration</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#_stopsystemtime" class="tsd-kind-icon">_stop<wbr>System<wbr>Time</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#getsystemtime" class="tsd-kind-icon">get<wbr>System<wbr>Time</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#caculatestopwatchtime" class="tsd-kind-icon">caculate<wbr>Stopwatch<wbr>Time</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#calculatependingslice" class="tsd-kind-icon">calculate<wbr>Pending<wbr>Slice</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#getcompletedandpendingslices" class="tsd-kind-icon">get<wbr>Completed<wbr>And<wbr>Pending<wbr>Slices</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#getcompletedslices" class="tsd-kind-icon">get<wbr>Completed<wbr>Slices</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#getpendingslice" class="tsd-kind-icon">get<wbr>Pending<wbr>Slice</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#getstate" class="tsd-kind-icon">get<wbr>State</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#getsystemtimeofcurrentstopwatchtime" class="tsd-kind-icon">get<wbr>System<wbr>Time<wbr>OfCurrent<wbr>Stopwatch<wbr>Time</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#gettime" class="tsd-kind-icon">get<wbr>Time</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#isidle" class="tsd-kind-icon">is<wbr>Idle</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#isrunning" class="tsd-kind-icon">is<wbr>Running</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#isstopped" class="tsd-kind-icon">is<wbr>Stopped</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#recordpendingslice" class="tsd-kind-icon">record<wbr>Pending<wbr>Slice</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#reset" class="tsd-kind-icon">reset</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#slice" class="tsd-kind-icon">slice</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#start" class="tsd-kind-icon">start</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||
<a href="_utils_analysis_stopwatch_.stopwatch.stopwatch.html#stop" class="tsd-kind-icon">stop</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="after-current">
|
||||
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-is-not-exported">
|
||||
<a href="../interfaces/_utils_analysis_stopwatch_.stopwatch.slice.html" class="tsd-kind-icon">Slice</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-type-alias tsd-parent-kind-namespace">
|
||||
<a href="../modules/_utils_analysis_stopwatch_.stopwatch.html#gettimefunc" class="tsd-kind-icon">Get<wbr>Time<wbr>Func</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-variable tsd-parent-kind-namespace tsd-is-not-exported">
|
||||
<a href="../modules/_utils_analysis_stopwatch_.stopwatch.html#_defaultsystemtimegetter" class="tsd-kind-icon">_default<wbr>System<wbr>Time<wbr>Getter</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-function tsd-parent-kind-namespace">
|
||||
<a href="../modules/_utils_analysis_stopwatch_.stopwatch.html#setdefaultsystemtimegetter" class="tsd-kind-icon">set<wbr>Default<wbr>System<wbr>Time<wbr>Getter</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="with-border-bottom">
|
||||
<div class="container">
|
||||
<h2>Legend</h2>
|
||||
<div class="tsd-legend-group">
|
||||
<ul class="tsd-legend">
|
||||
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-legend">
|
||||
<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
|
||||
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-legend">
|
||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-legend">
|
||||
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
||||
</div>
|
||||
<div class="overlay"></div>
|
||||
<script src="../assets/js/main.js"></script>
|
||||
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user