main.cpp File Reference

#include <iostream>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/resource.h>
#include <ymlloader.h>
#include "pearlymlentityfactory.h"
#include "pearlymlnode.h"
#include "pearlymlnetwork.h"
#include "sharedmemmapping.h"
#include "msgqmuxmapping.h"
#include "filemapping.h"
#include "traceevent.h"
#include "global.h"
#include "mesq.h"
#include <BasicUtils/BasicException.h>
#include <BasicUtils/BasicSmartPointer.h>
#include <BasicUtils/BasicProcess.h>
#include <BasicUtils/BasicDebugger.h>
#include <BasicUtils/BasicString.h>

Include dependency graph for ymlpearl/libymlpearl/main.cpp:


Functions

void main_install_modules ()
void main_install_blocks ()
int readregexp (char *filename, int pure)
int pearl_methodinstall (char *name)
int modulesinstalled ()
int minitstate (int np)
int initxtop ()
void init_hash ()
void free_hashmem ()
int schedule ()
void runtree_epilog ()
int createchild (char *name, char *className)
void emitstat (FILE *outFile)
void Syntax (char *name)
int main (int argc, char *argv[])

Variables

char * wt
FILE * statsFile

Function Documentation

void main_install_modules  ) 
 

void main_install_blocks  ) 
 

int readregexp char *  filename,
int  pure
 

int pearl_methodinstall char *  name  ) 
 

int modulesinstalled  ) 
 

int minitstate int  np  ) 
 

initialize data structures used for statistics

Parameters:
np number of processes

int initxtop  ) 
 

void init_hash  ) 
 

void free_hashmem  ) 
 

int schedule  ) 
 

Schedule processes from the schedule queue as long as there are processes to be scheduled.

Returns:

void runtree_epilog  ) 
 

int createchild char *  name,
char *  className
 

void emitstat FILE *  outFile  ) 
 

void Syntax char *  name  ) 
 

Dump the program syntax to stderr

Parameters:
name the current program name

int main int  argc,
char *  argv[]
 

Main function for compiled pearl simulations. Provides a frontend interface and loads and executes the simulation.

Parameters:
argc argument count
argv arguments
Returns:
exit value


Variable Documentation

char* wt
 

FILE* statsFile
 


Generated on Wed Apr 5 21:00:22 2006 for Sesame by  doxygen 1.4.6