Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:6314:    });   #endif      #ifdef LOG_GC_TIMESTAMPS    Pike.gc_parameters(([ "pre_cb": lambda() {    gc_start = gethrtime();    gc_histogram = ([]);    werror("GC runs at %s", ctime(time()));    },    "post_cb":lambda() { -  werror("GC done after %dus\n", -  gethrtime() - gc_start); +  werror("GC done after %dms\n", +  (gethrtime() - gc_start) / 1000);    },   #ifdef LOG_GC_HISTOGRAM    "destruct_cb":lambda(object o) {    // NB: These calls to sprintf(%O) can    // take significant time.    gc_histogram[sprintf("%O", object_program(o))]++;   #ifdef LOG_GC_VERBOSE    werror("GC cyclic reference in %O.\n",    o);   #endif