git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2780
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
xbt_fifo_unshift(host->simdata->process_list, process);
xbt_fifo_unshift(host->simdata->process_list, process);
- /* /////////////// FIX du current_process !!! ////////////// */
+ /* *************** FIX du current_process !!! *************** */
self = msg_global->current_process;
xbt_context_start(process->simdata->context);
msg_global->current_process = self;
self = msg_global->current_process;
xbt_context_start(process->simdata->context);
msg_global->current_process = self;
for (i=0;i<10;i++) {
head=xbt_dict_new();
for (i=0;i<10;i++) {
head=xbt_dict_new();
- // if (i%10) printf("."); else printf("%d",i/10); fflush(stdout);
+ /* if (i%10) printf("."); else printf("%d",i/10); fflush(stdout); */
nb=0;
for (j=0;j<1000;j++) {
key=xbt_malloc(SIZEOFKEY);
nb=0;
for (j=0;j<1000;j++) {
key=xbt_malloc(SIZEOFKEY);
head=xbt_dict_new();
xbt_test_add1("Fill %d elements, with keys being the number of element",NB_ELM);
for (j=0;j<NB_ELM;j++) {
head=xbt_dict_new();
xbt_test_add1("Fill %d elements, with keys being the number of element",NB_ELM);
for (j=0;j<NB_ELM;j++) {
- // if (!(j%1000)) { printf("."); fflush(stdout); }
+ /* if (!(j%1000)) { printf("."); fflush(stdout); } */
xbt_test_add1("Search my %d elements 20 times",NB_ELM);
key=xbt_malloc(10);
for (i=0;i<20;i++) {
xbt_test_add1("Search my %d elements 20 times",NB_ELM);
key=xbt_malloc(10);
for (i=0;i<20;i++) {
- // if (i%10) printf("."); else printf("%d",i/10); fflush(stdout);
+ /* if (i%10) printf("."); else printf("%d",i/10); fflush(stdout); */
for (j=0;j<NB_ELM;j++) {
sprintf(key,"%d",j);
for (j=0;j<NB_ELM;j++) {
sprintf(key,"%d",j);
xbt_test_add1("Remove my %d elements",NB_ELM);
key=xbt_malloc(10);
for (j=0;j<NB_ELM;j++) {
xbt_test_add1("Remove my %d elements",NB_ELM);
key=xbt_malloc(10);
for (j=0;j<NB_ELM;j++) {
- //if (!(j%10000)) printf("."); fflush(stdout);
+ /* if (!(j%10000)) printf("."); fflush(stdout); */
sprintf(key,"%d",j);
xbt_dict_remove(head,key);
sprintf(key,"%d",j);
xbt_dict_remove(head,key);
free((char*)e.bt_strings[i]);
free((char **)e.bt_strings);
}
free((char*)e.bt_strings[i]);
free((char **)e.bt_strings);
}
-// memset(e,0,sizeof(xbt_ex_t));
+ /* memset(e,0,sizeof(xbt_ex_t)); */
}
/** \brief returns a short name for the given exception category */
}
/** \brief returns a short name for the given exception category */