fixed getObjTime to actually get obj walltime.
[charm.git] / src / ck-core / cklocation.C
index de098244986ae2a59decc5deb3f49443ce307c25..65a70d28f863bda564905ac413be0728692b4cad 100644 (file)
@@ -1149,7 +1149,7 @@ void CkLocRec_local::setObjTime(double cputime) {
 }
 double CkLocRec_local::getObjTime() {
         double walltime, cputime;
-        the_lbdb->ObjTime(ldHandle, walltime, cputime);
+        the_lbdb->QueryKnownObjLoad(ldHandle, walltime, cputime);
         return walltime;
 }
 #endif