Branch: Tag:

1998-11-20

1998-11-20 01:57:24 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

profiling should now work with threads

Rev: src/interpret.c:1.100
Rev: src/interpret.h:1.23
Rev: src/threads.h:1.54

5:   \*/      /* -  * $Id: interpret.h,v 1.22 1998/08/10 23:33:29 hubbe Exp $ +  * $Id: interpret.h,v 1.23 1998/11/20 01:57:23 hubbe Exp $    */   #ifndef INTERPRET_H   #define INTERPRET_H
161:   struct callback;   extern struct callback_list evaluator_callbacks;   extern void call_callback(struct callback_list *, void *); +  + #ifdef PROFILING + #ifdef HAVE_GETHRTIME + extern long long accounted_time; + extern long long time_base;   #endif -  + #endif    -  + #endif +