INSEE 05.04.2011
Interconnection Nertworks Simulation and Evaluation Environment
Functions | Variables
C:/cygwin/home/Javier/insee/src/print_results.c File Reference

Printing Functions for FSIN. More...

#include "globals.h"
#include <time.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
Include dependency graph for print_results.c:

Functions

void print_headers (void)
void print_partials (void)
void print_results (time_t start_time, time_t end_time)

Variables

char * pheader []
char * bheader []

Detailed Description

Printing Functions for FSIN.

FSIN Functional Simulator of Interconnection Networks Copyright (2003-2011) J. Miguel-Alonso, A. Gonzalez, J. Navaridas

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


Function Documentation

void print_headers ( void  )

Print headers at simulation start.

See also:
pheaders.
void print_partials ( void  )

Print partial stats at runtime.

Besides write the evolution of the monitored node in the '.mon' file.

See also:
pheaders.
file.
void print_results ( time_t  start_time,
time_t  end_time 
)

Prints the final summary & results.

Prints the final summary that contains all the simulation parameters. Prints the results of each batch

See also:
bheaders.
plevel
file.

Variable Documentation

char* bheader[]
Initial value:
{
        ",  BatchTime",
        ", AvDistance",
        ",    InjLoad",
        ",    AccLoad",
        ", PacketSent",
        ", PacketRcvd",
        ", PacketDrop",
        ",   AvgDelay",
        ", StDevDelay",
        ",   MaxDelay",
        ",  InjAvgDel",
        ", InjStDvDel",
        ",  InjMaxDel",
}

An array containing all batch results headers.

See also:
bheaders
char* pheader[]
Initial value:
{
        "      clock",
        ",   iload",   
        ",   cload",   
        ", adelay",    
        ", ddelay",    
        ", mdelay",    
        ", av_i_delay",
        ", i_delay_av",
        ", max_i_delay",
        ", inj. limit, curr. ocup.",
}

An array containing all the headers for runtime printing.

See also:
pheaders