summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorcdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-24 18:37:50 +0000
committercdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-24 18:37:50 +0000
commitda21e4c8ccdbc5146d06af18b8b40946ee154453 (patch)
treed62470ab415077af3236672f4a270ee1507ad0fb /examples
parented48d1481dd32d851e41dc27764fe6c743b144e6 (diff)
downloadATCD-da21e4c8ccdbc5146d06af18b8b40946ee154453.tar.gz
updated README
Diffstat (limited to 'examples')
-rw-r--r--examples/Bounded_Packet_Relay/README19
1 files changed, 14 insertions, 5 deletions
diff --git a/examples/Bounded_Packet_Relay/README b/examples/Bounded_Packet_Relay/README
index d6db77cebf3..5757224c510 100644
--- a/examples/Bounded_Packet_Relay/README
+++ b/examples/Bounded_Packet_Relay/README
@@ -35,15 +35,15 @@ Settings commands:
2 <input packet arrival period (in usec)>
- Minimum value is 1 usec, defaults to 500 usec (1/2 msec).
+ Minimum value is 1 usec, defaults to 10000 usec (10 msec).
3 <output packet transmission period (in usec)>
- Minimum value is 1 usec, defaults to 1000 usec (1 msec).
+ Minimum value is 1 usec, defaults to 10000 usec (10 msec).
4 <limit on duration of transmission (in usec)>
- Minimum value is 1 usec, defaults to 1500000 usec (1 1/2 sec).
+ Minimum value is 1 usec, defaults to 20000000 usec (20 sec).
A value of 0 is also a valid input, in which case no limit
will be placed on the duration of the transmission (it will
end when all packets have been relayed from the input device
@@ -52,8 +52,12 @@ Settings commands:
5 <logging level>
0 - does no logging
- 1 - reports time each packet arrived at the output device
- as well as the contents of the message.
+ 1 - logs packets created by the input device
+ 2 - logs packets consumed by the output device
+ 4 - prints contents of packets consumed by the output device
+
+ To set several flags, pass their sum as the logging level value:
+ e.g., a logging level value of 7 turns on all possible logging.
Action commands:
@@ -176,6 +180,8 @@ Source Files: Thread_Bounded_Packet_Relay.h
Thread_Bounded_Packet_Relay.cpp
BPR_Driver.h
BPR_Driver.cpp
+ BPR_Driver_T.h
+ BPR_Driver_T.cpp
bpr_thread.cpp
Make file: Makefile
@@ -183,3 +189,6 @@ Make file: Makefile
Doc file: README (this file)
Executable: bpr_thread
+
+
+