diff options
Diffstat (limited to 'source/profile/profile.c')
-rw-r--r-- | source/profile/profile.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/profile/profile.c b/source/profile/profile.c index c2d9b4ce89e..5b8b280c293 100644 --- a/source/profile/profile.c +++ b/source/profile/profile.c @@ -22,7 +22,6 @@ #include "includes.h" -#ifdef WITH_PROFILE #include <sys/shm.h> extern int DEBUGLEVEL; @@ -34,6 +33,11 @@ static BOOL read_only; struct profile_struct *profile_p; +BOOL do_profile_flag = False; + +struct timeval profile_starttime; +struct timeval profile_endtime; + /******************************************************************* open the profiling shared memory area ******************************************************************/ @@ -99,10 +103,7 @@ BOOL profile_setup(BOOL rdonly) DEBUG(3,("Initialised profile area\n")); } + do_profile_flag = True; /* temp for now */ return True; } -#else - /* to keep compilers happy about empty modules */ - void profile_dummy(void) {} -#endif |