manifold_fullsim.cc File Reference

#include "mesh.h"
#include "../../util/genericData.h"
#include "../../util/config_params.h"
#include "../../zesto/zesto-uncore.h"
#include "../../simIris/components/impl/genericFlatMc.h"

Include dependency graph for manifold_fullsim.cc:

Go to the source code of this file.

Functions

void print_state_at_deadlock (void)
static void signal_sim_stats (int sigtype)
static void signal_exit_now (int sigtype)
static int orphan_fn (int i, int argc, char **argv)
static void banner (FILE *fd, int argc, char **argv)
static void usage (FILE *fd, int argc, char **argv)
void sim_print_stats (FILE *fd)
static void exit_now (int exit_code)
unsigned int iris_process_options (int argc, char *argv[])
void iris_init ()
int main (int argc, char *argv[])

Variables

string data
string word
unsigned int cores_per_node = 1
Meshmesh
char * s
int exit_code
time_t sim_start_time
time_t sim_end_time
int sim_elapsed_time
int sim_swap_bytes
int sim_swap_words
int sim_exit_now = FALSE
jmp_buf sim_exit_buf
int sim_dump_stats = FALSE
struct opt_odb_t * sim_odb
struct stat_sdb_t * sim_sdb
char * sim_simout = NULL
char * sim_progout = NULL
FILE * sim_progfd = NULL
static int exec_index = -1
bool help_me
int rand_seed
bool init_quit
int nice_priority
static int running = FALSE


Function Documentation

static void banner ( FILE *  fd,
int  argc,
char **  argv 
) [static]

Definition at line 129 of file manifold_fullsim.cc.

References s.

Referenced by main().

Here is the caller graph for this function:

static void exit_now ( int  exit_code  )  [static]

Definition at line 238 of file manifold_fullsim.cc.

References sim_print_stats().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void iris_init (  ) 

void iris_process_options ( int  argc,
char *  argv[] 
)

int main ( int  argc,
char *  argv[] 
)

static int orphan_fn ( int  i,
int  argc,
char **  argv 
) [static]

Definition at line 122 of file manifold_fullsim.cc.

References exec_index.

Referenced by main().

Here is the caller graph for this function:

void print_state_at_deadlock ( void   ) 

Definition at line 155 of file manifold_fullsim.cc.

References no_nodes, and Topology::routers.

static void signal_exit_now ( int  sigtype  )  [static]

Definition at line 71 of file manifold_fullsim.cc.

References sim_exit_now.

Referenced by main().

Here is the caller graph for this function:

static void signal_sim_stats ( int  sigtype  )  [static]

Definition at line 64 of file manifold_fullsim.cc.

References sim_dump_stats.

Referenced by main().

Here is the caller graph for this function:

void sim_print_stats ( FILE *  fd  ) 

Definition at line 165 of file manifold_fullsim.cc.

References Topology::interfaces, Topology::link_a, Topology::link_b, links, MAX, max_phy_link_bits, max_sim_time, no_nodes, Mesh::print_stats(), running, sim_elapsed_time, sim_end_time, sim_sdb, and sim_start_time.

Referenced by exit_now(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void usage ( FILE *  fd,
int  argc,
char **  argv 
) [static]

Definition at line 145 of file manifold_fullsim.cc.

References sim_odb.

Referenced by main().

Here is the caller graph for this function:


Variable Documentation

unsigned int cores_per_node = 1

Definition at line 49 of file manifold_fullsim.cc.

Referenced by iris_process_options(), and main().

string data

int exec_index = -1 [static]

Definition at line 106 of file manifold_fullsim.cc.

Referenced by main(), and orphan_fn().

int exit_code

Definition at line 60 of file manifold_fullsim.cc.

Referenced by main().

bool help_me

Definition at line 109 of file manifold_fullsim.cc.

Referenced by main().

bool init_quit

Definition at line 115 of file manifold_fullsim.cc.

Referenced by main().

Definition at line 56 of file manifold_fullsim.cc.

Definition at line 118 of file manifold_fullsim.cc.

Referenced by main().

int rand_seed

Definition at line 112 of file manifold_fullsim.cc.

Referenced by main().

int running = FALSE [static]

Definition at line 151 of file manifold_fullsim.cc.

Referenced by main(), and sim_print_stats().

char* s

Definition at line 59 of file manifold_fullsim.cc.

Referenced by banner().

int sim_dump_stats = FALSE

Definition at line 92 of file manifold_fullsim.cc.

Referenced by signal_sim_stats().

Definition at line 79 of file manifold_fullsim.cc.

Referenced by sim_print_stats().

time_t sim_end_time

Definition at line 78 of file manifold_fullsim.cc.

Referenced by sim_print_stats().

jmp_buf sim_exit_buf

Definition at line 89 of file manifold_fullsim.cc.

Referenced by main().

int sim_exit_now = FALSE

Definition at line 86 of file manifold_fullsim.cc.

Referenced by signal_exit_now().

struct opt_odb_t* sim_odb

Definition at line 95 of file manifold_fullsim.cc.

Referenced by main(), and usage().

FILE* sim_progfd = NULL

Definition at line 103 of file manifold_fullsim.cc.

Referenced by main().

char* sim_progout = NULL

Definition at line 102 of file manifold_fullsim.cc.

Referenced by main().

struct stat_sdb_t* sim_sdb

Definition at line 98 of file manifold_fullsim.cc.

Referenced by main(), and sim_print_stats().

char* sim_simout = NULL

Definition at line 101 of file manifold_fullsim.cc.

Referenced by main().

Definition at line 77 of file manifold_fullsim.cc.

Referenced by main(), and sim_print_stats().

Definition at line 82 of file manifold_fullsim.cc.

Definition at line 83 of file manifold_fullsim.cc.

string word

Definition at line 48 of file manifold_fullsim.cc.

Referenced by iris_process_options(), and main().


Generated on Tue Oct 19 17:22:06 2010 for IRIS by  doxygen 1.5.8