summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4b0e035)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1440
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
double start = 0.0;
double now = 0.0;
double start = 0.0;
double now = 0.0;
- gras_init(&argc, argv, NULL);
+ gras_init(&argc, argv);
A = malloc(n*n*sizeof(double));
B = malloc(n*n*sizeof(double));
A = malloc(n*n*sizeof(double));
B = malloc(n*n*sizeof(double));
int multiplier (int argc,char *argv[])
{
int multiplier (int argc,char *argv[])
{
- gras_init(&argc, argv, NULL);
+ gras_init(&argc, argv);
mat_mult(10);
mat_mult(20);
mat_mult(10);
mat_mult(20);
int port = 4000;
/* 1. Init the GRAS infrastructure and declare my globals */
int port = 4000;
/* 1. Init the GRAS infrastructure and declare my globals */
- gras_init(&argc,argv, NULL);
globals=gras_userdata_new(server_data_t);
/* 2. Get the port I should listen on from the command line, if specified */
globals=gras_userdata_new(server_data_t);
/* 2. Get the port I should listen on from the command line, if specified */
int port = 4000;
/* 1. Init the GRAS's infrastructure */
int port = 4000;
/* 1. Init the GRAS's infrastructure */
- gras_init(&argc, argv, NULL);
+ gras_init(&argc, argv);
/* 2. Get the server's address. The command line override defaults when specified */
if (argc == 3) {
/* 2. Get the server's address. The command line override defaults when specified */
if (argc == 3) {
int cpt;
my_globals *globals;
int cpt;
my_globals *globals;
- gras_init(&argc,argv,NULL);
globals=gras_userdata_new(my_globals);
globals->still_to_do = -1;
globals=gras_userdata_new(my_globals);
globals->still_to_do = -1;
/* 1. Init the GRAS infrastructure and declare my globals */
/* 1. Init the GRAS infrastructure and declare my globals */
- gras_init(&argc,argv, NULL);
globals=gras_userdata_new(node_data_t);
globals=gras_userdata_new(node_data_t);
free(globals);
gras_exit();
free(globals);
gras_exit();
return no_error;
} /* end_of_node */
return no_error;
} /* end_of_node */
typedef int (*xbt_module_finalize_fct_t)(void);
void xbt_init(int *argc,char **argv);
typedef int (*xbt_module_finalize_fct_t)(void);
void xbt_init(int *argc,char **argv);
-void xbt_init_defaultlog(int *argc,char **argv, const char *defaultlog);
void xbt_exit(void);
#endif /* _XBT_MODULE_H */
void xbt_exit(void);
#endif /* _XBT_MODULE_H */
#define XBT_MODINTER_H
/* Modules definitions */
#define XBT_MODINTER_H
/* Modules definitions */
-void xbt_log_init(int *argc,char **argv, const char *defaultlog);
+void xbt_log_init(int *argc,char **argv);
void xbt_log_exit(void);
#endif /* XBT_MODINTER_H */
void xbt_log_exit(void);
#endif /* XBT_MODINTER_H */