[multiple changes]
[gcc.git] / gcc / ada / s-taprop-posix.adb
index eb1b77147ec68bdbf1589c1f0e8703f414621e31..af0a597e5fc36766b953bb7834b466a206f7fafc 100644 (file)
@@ -666,7 +666,7 @@ package body System.Task_Primitives.Operations is
       Result : Interfaces.C.int;
    begin
       Result := clock_gettime
-        (clock_id => CLOCK_REALTIME, tp => TS'Unchecked_Access);
+        (clock_id => CLOCK_MONOTONIC, tp => TS'Unchecked_Access);
       pragma Assert (Result = 0);
       return To_Duration (TS);
    end Monotonic_Clock;