comparison probes.c @ 206:a262abf4b8d5

brch file for new WestmereEx 4x10 HW Branch
author Merten Sach <msach@mailbox.tu-berlin.de>
date Fri, 17 Feb 2012 18:43:52 +0100
parents 9ddbb071142d
children
comparison
equal deleted inserted replaced
8:ee75f63fd44f 14:71eed279ad45
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <malloc.h> 8 #include <malloc.h>
9 #include <sys/time.h> 9 #include <sys/time.h>
10 10
11 #include "VMS.h" 11 #include "VMS.h"
12 #include "Queue_impl/BlockingQueue.h" 12 #include "C_Libraries/Queue_impl/BlockingQueue.h"
13 #include "Histogram/Histogram.h" 13 #include "C_Libraries/Histogram/Histogram.h"
14 14
15 15
16 //================================ STATS ==================================== 16 //================================ STATS ====================================
17 17
18 inline TSCount getTSCount() 18 inline TSCount getTSCount()
144 /*Only call from inside master or main startup/shutdown thread 144 /*Only call from inside master or main startup/shutdown thread
145 */ 145 */
146 void 146 void
147 VMS_impl__free_probe( IntervalProbe *probe ) 147 VMS_impl__free_probe( IntervalProbe *probe )
148 { if( probe->hist != NULL ) freeDblHist( probe->hist ); 148 { if( probe->hist != NULL ) freeDblHist( probe->hist );
149 if( probe->nameStr != NULL) VMS__free( probe->nameStr ); 149 if( probe->nameStr != NULL) VMS_int__free( probe->nameStr );
150 VMS__free( probe ); 150 VMS_int__free( probe );
151 } 151 }
152 152
153 153
154 int32 154 int32
155 VMS_impl__record_time_point_into_new_probe( char *nameStr, VirtProcr *animPr) 155 VMS_impl__record_time_point_into_new_probe( char *nameStr, VirtProcr *animPr)