5 $first= 6.0; # units are bytes of command NMRADATA command sent to PICs.
6 # A 3-byte (including checksum) NMRA command (which is the
7 # smallest possible) produces 6 bytes.
10 #define SPEEDYCOUNT $count
13 Retransmit__Time interval; /* interval after this retransmission */
14 DLIST2_HEAD(RetransmitUrgentNode) queue; /* msgs transmitted ix times */
19 for ($ix=0, $accum=0; $ix<$count; $ix++) {
20 $val= int($first * $exp**$ix + 0.49);
22 push @s, sprintf(" { %3d } /* %3s cum=%3d cumforother=%3d".
23 " use=%3d%% cumuse=%3d%% */",
24 $val, "#$ix", $accum, $accum-($ix+1),
25 (100.0/$val), (100.0*($ix+1))/$accum);
28 print("#define SPEEDIESINIT { \\\n",