pike.git / src / gc.c

version» Context lines:

pike.git/src/gc.c:4368:    fprintf(stderr,"Avg "CPU_TIME_UNIT" between gc : %f\n", non_gc_time);    fprintf(stderr,"Avg "CPU_TIME_UNIT" in gc : %f\n", gc_time);    fprintf(stderr,"Avg time ratio in gc : %f\n", gc_time / non_gc_time);       fprintf(stderr,"Garbage strategy in last gc: %s\n",    last_garbage_strategy == GARBAGE_RATIO_LOW ? "garbage_ratio_low" :    last_garbage_strategy == GARBAGE_RATIO_HIGH ? "garbage_ratio_high" :    last_garbage_strategy == GARBAGE_MAX_INTERVAL ?    "garbage_max_interval" : "???");    - #ifdef PIKE_DEBUG -  fprintf(stderr,"Max used recursion frames : %u\n", tot_max_rec_frames); -  fprintf(stderr,"Max used link frames : %u\n", tot_max_link_frames); -  fprintf(stderr,"Max used free extra frames : %u\n", tot_max_free_extra_frames); -  fprintf(stderr,"Marked live ratio : %g\n", +  DWERR("Max used recursion frames : %u\n", tot_max_rec_frames); +  DWERR("Max used link frames : %u\n", tot_max_link_frames); +  DWERR("Max used free extra frames : %u\n", tot_max_free_extra_frames); +  DWERR("Marked live ratio : %g\n",    (double) tot_mark_live / tot_cycle_checked); -  fprintf(stderr,"Frame rotation ratio : %g\n", +  DWERR("Frame rotation ratio : %g\n",    (double) tot_frame_rot / tot_cycle_checked); - #endif +        fprintf(stderr,"in_gc : %d\n", Pike_in_gc);   }      void cleanup_gc(void)   {   #ifdef PIKE_DEBUG    if (gc_evaluator_callback) {    remove_callback(gc_evaluator_callback);    gc_evaluator_callback = NULL;