diff probes.c @ 54:f8508572f3de

Added boolean guarded debug messages and VMS__throw_exception
author Me
date Tue, 02 Nov 2010 16:43:01 -0700
parents 42dd44df1bb0
children 3bac84e4e56e
line diff
     1.1 --- a/probes.c	Mon Nov 01 21:21:32 2010 -0700
     1.2 +++ b/probes.c	Tue Nov 02 16:43:01 2010 -0700
     1.3 @@ -253,6 +253,7 @@
     1.4  VMS_impl__record_interval_start_in_probe( int32 probeID )
     1.5   { IntervalProbe *probe;
     1.6  
     1.7 +         DEBUG_MSG( dbgProbes, "record start of interval\n" )
     1.8     probe = _VMSMasterEnv->intervalProbes[ probeID ];
     1.9     gettimeofday( &(probe->startStamp), NULL );
    1.10   }
    1.11 @@ -265,8 +266,9 @@
    1.12  VMS_impl__record_interval_end_in_probe( int32 probeID )
    1.13   { IntervalProbe *probe;
    1.14     struct timeval *endStamp, *startStamp;
    1.15 -   double startSecs, endSecs;
    1.16 +   float64 startSecs, endSecs;
    1.17  
    1.18 +         DEBUG_MSG( dbgProbes, "record end of interval\n" )
    1.19        //possible seg-fault if array resized by diff core right after this
    1.20        // one gets probe..?  Something like that?  Might be safe.. don't care
    1.21     probe = _VMSMasterEnv->intervalProbes[ probeID ];