File: tcsrelt

package info (click to toggle)
tcng 10b-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,632 kB
  • ctags: 2,515
  • sloc: ansic: 19,038; pascal: 4,640; yacc: 2,619; sh: 1,908; perl: 1,546; lex: 772; makefile: 755
file content (29 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (5)
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
# tcsim: relative time in seconds ---------------------------------------------
tcsim
time 1s
echo "one"
time +1500ms
echo "two"
EOF
1.000000 * : one
2.500000 * : two
# tcsim: relative time in jiffies ---------------------------------------------
tcsim
time 1s
echo "one"
time +150j
echo "two"
EOF
1.000000 * : one
2.500000 * : two
# tcsim: relative end time in seconds -----------------------------------------
tcsim
time 2s
every 100ms until +499ms echo "."
time 10s
EOF
2.000000 * : .
2.100000 * : .
2.200000 * : .
2.300000 * : .
2.400000 * : .