Debian Codegraph @

help/info/now.html

raw symbols SCIP
1 <!--
2 Copyright (c) 2000-2021 Ericsson Telecom AB
3 All rights reserved. This program and the accompanying materials
4 are made available under the terms of the Eclipse Public License v2.0
5 which accompanies this distribution, and is available at
6 https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
7
8 Contributors:
9 Baranyi, Botond
10 -->
11 <html>
12 <head>
13 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
14 <meta http-equiv="Content-Language" content="en-us">
15 <title>now</title>
16 </head>
17 <body bgcolor="#DAD3C5" vlink="#0094D2" link="#003258">
18 <table align="left" border="0" cellspacing="0" cellpadding="0" valign=top>
19 <tr>
20 <td width=105 height=40><a href="https://projects.eclipse.org/projects/tools.titan"><img src="../images/titan_transparent.gif" border=0 width=105 height=40 align="left" alt="Titan"></a></td>
21 </tr>
22 </table>
23 <table border="0" align="right" cellpadding="0" cellspacing="0">
24 <tr>
25 <td><a href="../titan_main.html" alt="contents"><img border="0" src="../images/ao.jpg" width="53" height="40"></a></td>
26 <td><a href="../titan_index.html" alt="index"><img border="0" src="../images/up.jpg" width="53" height="40"></a></td>
27 <td><a href="not4b.html" alt="previous"><img border="0" src="../images/left.jpg" width="53" height="40"></a></td>
28 <td><a href="nowait.html" alt="next"><img border="0" src="../images/right.jpg" width="53" height="40"></a></td>
29 </tr>
30 </table>
31 <p><br clear="all">
32 </p>
33 <hr>
34 <h1>now</h1>
35 <hr align="left" width="75%">
36 <p>A float expression that returns the current value of the test system clock (the amount of seconds since the start of the current test case's execution).
37 <p>This keyword requires the compiler option '-I' to be set, otherwise it is treated as an identifier.
38 <hr align="left" width="50%">
39 <p>Related keyword:</p>
40 <ul>
41 <li><a href="timestamp.html"><b><font face="Courier New" color="#003258" size="4">timestamp</font></b></a></li>
42 </ul>
43 <hr align="left" width="50%">
44 <div align="center">
45 <center>
46 <table border="0" width="90%" bgcolor="#FFB599" cellpadding="4">
47 <tr>
48 <td width="100%">
49 <h3 align="center"><font face="Courier New" color="#003258" size="5"><b>now</b></font></h3>
50 </td>
51 </tr>
52 </table>
53 </center>
54 </div>
55 <hr align="left" width="50%">
56 <p>Example:
57 <p><font face="Courier New">var float v_myTime := now;</font><br><br>
58 Variable v_myTime now contains the current test system time.</p>
59 </body>
60 </html>