comparison probes.c @ 55:3bac84e4e56e

Works with correct matrix mult Nov 4 -- switch animators macros, many updates Changed all queues back to VMSQ variants #defines correct, protected, work-stealing, with compiler switch in and out
author Me
date Thu, 04 Nov 2010 18:13:18 -0700
parents f8508572f3de
children 7b799a46cc87
comparison
equal deleted inserted replaced
3:12d06630fa92 4:58c4d9b7527f
251 */ 251 */
252 void 252 void
253 VMS_impl__record_interval_start_in_probe( int32 probeID ) 253 VMS_impl__record_interval_start_in_probe( int32 probeID )
254 { IntervalProbe *probe; 254 { IntervalProbe *probe;
255 255
256 DEBUG_MSG( dbgProbes, "record start of interval\n" ) 256 DEBUG( dbgProbes, "record start of interval\n" )
257 probe = _VMSMasterEnv->intervalProbes[ probeID ]; 257 probe = _VMSMasterEnv->intervalProbes[ probeID ];
258 gettimeofday( &(probe->startStamp), NULL ); 258 gettimeofday( &(probe->startStamp), NULL );
259 } 259 }
260 260
261 261
266 VMS_impl__record_interval_end_in_probe( int32 probeID ) 266 VMS_impl__record_interval_end_in_probe( int32 probeID )
267 { IntervalProbe *probe; 267 { IntervalProbe *probe;
268 struct timeval *endStamp, *startStamp; 268 struct timeval *endStamp, *startStamp;
269 float64 startSecs, endSecs; 269 float64 startSecs, endSecs;
270 270
271 DEBUG_MSG( dbgProbes, "record end of interval\n" ) 271 DEBUG( dbgProbes, "record end of interval\n" )
272 //possible seg-fault if array resized by diff core right after this 272 //possible seg-fault if array resized by diff core right after this
273 // one gets probe..? Something like that? Might be safe.. don't care 273 // one gets probe..? Something like that? Might be safe.. don't care
274 probe = _VMSMasterEnv->intervalProbes[ probeID ]; 274 probe = _VMSMasterEnv->intervalProbes[ probeID ];
275 gettimeofday( &(probe->endStamp), NULL); 275 gettimeofday( &(probe->endStamp), NULL);
276 276