Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:6350:    gc_params->pre_cb =    lambda() {    gc_start = gethrtime();    gc_histogram = ([]);    reported_cycles = ([]);    werror("GC runs at %s", ctime(time()));    };       gc_params->post_cb =    lambda() { -  werror("GC done after %dus\n", -  gethrtime() - gc_start); +  werror("GC done after %dms\n", +  (gethrtime() - gc_start) / 1000);    };       if (log_gc_histogram || log_gc_verbose || log_gc_cycles) {    gc_params->destruct_cb =    lambda(object o) {    // NB: These calls to sprintf(%O) can    // take significant time.    string id =    sprintf("%O", object_program(o));    gc_histogram[id]++;