Branch: Tag:

2009-11-11

2009-11-11 20:05:07 by Martin Stjernholm <mast@lysator.liu.se>

Get more time info about the implicit gc runs.

Debug.gc_status() now includes the total CPU and real time consumed by the
gc.

Added Pike.implicit_gc_real_time() to return the consumed real time quickly.

Rev: lib/modules/Pike.pmod/module.pmod:1.23
Rev: src/builtin_functions.c:1.694
Rev: src/gc.c:1.332
Rev: src/gc.h:1.137

3:      // Pike core things that don't belong anywhere else.   // - // $Id: module.pmod,v 1.22 2008/09/19 15:10:09 mast Exp $ + // $Id: module.pmod,v 1.23 2009/11/11 20:05:06 mast Exp $      constant WEAK_INDICES = __builtin.PIKE_WEAK_INDICES;   constant WEAK_VALUES = __builtin.PIKE_WEAK_VALUES;
71:   constant DefaultBackend = __builtin.__backend;      constant gc_parameters = __builtin.gc_parameters; + constant implicit_gc_real_time = __builtin.implicit_gc_real_time;   constant count_memory = __builtin.count_memory;      constant get_runtime_info = __builtin.get_runtime_info;