comparison VMS.h @ 48:054006c26b92

Added instrumentation to measure master time, master lock time and create time
author Me
date Tue, 26 Oct 2010 18:18:30 -0700
parents 72373405c816
children 984f7d78bfdf
comparison
equal deleted inserted replaced
17:8b725af1320a 18:a566fdfce723
137 //======================================================================== 137 //========================================================================
138 }; 138 };
139 //VirtProcr 139 //VirtProcr
140 140
141 141
142 typedef struct
143 {
144 Histogram *createHist;
145 Histogram *masterLockHist;
146 Histogram *masterTimeHist;
147 }
148 VMSStats;
142 149
143 typedef struct 150 typedef struct
144 { 151 {
145 SlaveScheduler slaveScheduler; 152 SlaveScheduler slaveScheduler;
146 RequestHandler requestHandler; 153 RequestHandler requestHandler;
156 void *coreLoopEndPt; //addr to jump to to shut down a coreLoop 163 void *coreLoopEndPt; //addr to jump to to shut down a coreLoop
157 164
158 int setupComplete; 165 int setupComplete;
159 int masterLock; 166 int masterLock;
160 167
168 VMSStats *stats;
161 } 169 }
162 MasterEnv; 170 MasterEnv;
163 171
164 172
165 //========================================================== 173 //==========================================================