Debian Codegraph @

opcodes/elapsedtime.xml

raw symbols SCIP
1
2 <refentry id="elapsedtime">
3 <indexterm id="IndexElaosedtime"><primary>elapsedtime</primary></indexterm>
4 <refentryinfo><title>Instrument Control:Time Reading</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>elapsedtime</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>elapsedtime</refname>
11 <refpurpose>
12 Read absolute time in seconds.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Read absolute time, in seconds, since the start of the performance.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>ires <command>elapsedtime</command></synopsis>
26
27 <synopsis>kres <command>elapsedtime</command></synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Performance</title>
32 <para>
33 Time in seconds is available with <emphasis>elapsedtime</emphasis>. This
34 would return 0.5 after half a second.
35 </para>
36
37 <para>
38 <emphasis>elapsedtime</emphasis> can both produce a k-rate variable for
39 output. There are no input parameters.
40 </para>
41
42 <para>
43 <emphasis>elapsedtime</emphasis> can also operate at the start of the
44 instance of the instrument. It produces an i-rate variable (starting with
45 <emphasis>i</emphasis> or <emphasis>gi</emphasis>) as its output.
46 </para>
47
48 <note>
49 <para>
50 <emphasis>elapsedtime</emphasis> acts like
51 <link linkend="times"><citetitle>times</citetitle></link> but it
52 returns the correct values instead of being one cycle late.
53 </para>
54 </note>
55 </refsect1>
56
57 <refsect1>
58 <title>See also</title>
59 <para><link linkend="ControlTimeread"><citetitle>Time Reading</citetitle></link></para>
60 </refsect1>
61
62 <refsect1>
63 <title>Credits</title>
64 <para>
65 <simplelist>
66 <member>Author: &nameeduardo;</member>
67 <member>August 2022</member>
68 </simplelist>
69 </para>
70 </refsect1>
71 </refentry>