Analysis section
authorRichard Whitehouse <richardwhiuk@richardwhiuk.com>
Wed, 18 May 2011 10:09:19 +0000 (11:09 +0100)
committerRichard Whitehouse <richardwhiuk@richardwhiuk.com>
Wed, 18 May 2011 10:10:50 +0000 (11:10 +0100)
implementation.tex

index 3ca31a3645105a85fce5df12d68b623805085c50..99148d18e01ef131d6704fc1adea75c8a0f78a07 100644 (file)
@@ -84,7 +84,11 @@ Finally, once the setup is complete and the trace files are connected to the cor
 \caption[Analysis Class Diagram]{Class diagram showing components involved in analysis of a simulation.}
 \end{figure}
 
-The analysis section 
+In order to get useful data, the files emitted from the simulation stage must be analysed and compared. The primary resource for this stage is the CSMA ASCII trace file which lists each time a packet is enqueued onto a Ethernet transmission queue, when it is dequeued, if it is dropped and when it is received by a node. It lists the time of each action, the node it was operated on and the packet headers for the packet in question.
+
+By analysing this file we can gain an insight into how efficent the routing protocols are, how long each packet took to traverse the network and other simulation metrics.
+
+The analysis program parses the CSMA file and collects the statistics on the packets observed before outputting them to a file. It also creates a graph displaying the nodes in the network topology.
 
 \subsection{File Formats}
 
@@ -100,7 +104,7 @@ The topology file details the graph of the network. Specifically it lists the nu
 
 The data file details the data sent across the network. After the file header, it lists in order, the sets of packets to be transferred across the network, The first field contains the time to start, interpreted as a double. After this follows descriptors containing the hosts (zero indexed) to send to and from. Finally each section has the number of packets to send across the link.
 
-%\subsubsection{State}%
+%\subsubsection{State}
 
 \subsubsection{Trace}