Browse Source

temporary workaround for out-of-range problem - processinfo halted on win64

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8566 8c9fc860-2736-0410-a75d-ab315db34111
eth.metacore 6 năm trước cách đây
mục cha
commit
f1396c9499
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      source/WMProcessInfo.Mod

+ 1 - 1
source/WMProcessInfo.Mod

@@ -244,7 +244,7 @@ TYPE
 			END GetValues;
 			
 		BEGIN
-			t1 := Machine.GetTimer() - lastProcTime;
+			t1 := ABS( Machine.GetTimer() - lastProcTime );
 			lastProcTime := Machine.GetTimer();
 
 			grid.model.Acquire;