Fixed instrument bug that was causing NaN start times. Renamed startTime to phaseStar...
[charm.git] / src / arch / cuda / hybridAPI / wr.h
index 49bd2b8a5d8fc0821dd975156403fe3435127294..7080b217fd3d8c75b5141096773907bce0f939ae 100644 (file)
@@ -114,10 +114,14 @@ typedef struct workRequest {
   void *userData; 
 
 #ifdef GPU_INSTRUMENT_WRS
-  double startTime;
+  double phaseStartTime;
   int chareIndex;
   char compType;
   char compPhase;
+
+  workRequest(){
+    chareIndex = -1;
+  }
 #endif
 
 } workRequest;