Branch: Tag:

1998-11-13

1998-11-13 01:28:45 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

fixed profiling

Rev: src/builtin_functions.c:1.138
Rev: src/interpret.c:1.98
Rev: src/program.c:1.104
Rev: src/program.h:1.45

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: program.c,v 1.103 1998/11/09 07:23:16 hubbe Exp $"); + RCSID("$Id: program.c,v 1.104 1998/11/13 01:28:44 hubbe Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
1417:    dummy.run_time_type=run_time_type;    dummy.func.offset=offset;   #ifdef PROFILING +  dummy.self_time=0;    dummy.num_calls=0;    dummy.total_time=0;   #endif
1596:    ref.inherit_offset=0;      #ifdef PROFILING +  dummy.self_time=0;    dummy.num_calls=0;    dummy.total_time=0;   #endif
1742:    INT32 i;      #ifdef PROFILING +  fun.self_time=0;    fun.num_calls=0;    fun.total_time=0;   #endif