Index: src/libcfa/clock
===================================================================
--- src/libcfa/clock	(revision 10a97adb78ace9015521af17d66f1782aca51583)
+++ src/libcfa/clock	(revision 22cf65e11a24edf081d60de102b7eb1104395caf)
@@ -10,6 +10,6 @@
 // Created On       : Thu Apr 12 14:36:06 2018
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Thu Apr 12 16:53:31 2018
-// Update Count     : 3
+// Last Modified On : Tue Jun 26 14:11:44 2018
+// Update Count     : 6
 // 
 
@@ -40,9 +40,15 @@
 static inline void resetClock( Clock & clk, Duration adj ) with( clk ) {
 	clocktype = -1;
-	offset = adj + timezone`s;							// timezone (global) is (UTC - local time) in seconds
+	offset = adj + __timezone`s;							// timezone (global) is (UTC - local time) in seconds
 } // resetClock
 
 static inline void ?{}( Clock & clk ) { resetClock( clk ); }
 static inline void ?{}( Clock & clk, Duration adj ) { resetClock( clk, adj ); }
+
+static inline Duration getResNsec() {
+	struct timespec res;
+	clock_getres( CLOCK_REALTIME, &res );
+	return ((int64_t)res.tv_sec * TIMEGRAN + res.tv_nsec)`ns;
+} // getRes
 
 static inline Duration getRes() {
@@ -54,5 +60,5 @@
 static inline Time getTimeNsec() {						// with nanoseconds
 	timespec curr;
-	clock_gettime( CLOCK_REALTIME_COARSE, &curr );
+	clock_gettime( CLOCK_REALTIME, &curr );
 	return (Time){ curr };
 } // getTime
