Index: uspace/app/tester/ipc/ping_pong.c
===================================================================
--- uspace/app/tester/ipc/ping_pong.c	(revision a35b458e9db1ca95e679799dc7c1b12c83359ca3)
+++ uspace/app/tester/ipc/ping_pong.c	(revision 8867cf60014e9288ad97cf5fd5d82bcd6e605782)
@@ -29,5 +29,5 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include <sys/time.h>
+#include <time.h>
 #include <ns.h>
 #include <async.h>
@@ -42,13 +42,13 @@
 	TPRINTF("Pinging ns server for %d seconds...", DURATION_SECS);
 
-	struct timeval start;
-	gettimeofday(&start, NULL);
+	struct timespec start;
+	getuptime(&start);
 
 	uint64_t count = 0;
 	while (true) {
-		struct timeval now;
-		gettimeofday(&now, NULL);
+		struct timespec now;
+		getuptime(&now);
 
-		if (tv_sub_diff(&now, &start) >= DURATION_SECS * 1000000L)
+		if (NSEC2SEC(ts_sub_diff(&now, &start)) >= DURATION_SECS)
 			break;
 
Index: uspace/app/tester/ipc/starve.c
===================================================================
--- uspace/app/tester/ipc/starve.c	(revision a35b458e9db1ca95e679799dc7c1b12c83359ca3)
+++ uspace/app/tester/ipc/starve.c	(revision 8867cf60014e9288ad97cf5fd5d82bcd6e605782)
@@ -29,5 +29,5 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include <sys/time.h>
+#include <time.h>
 #include <io/console.h>
 #include <async.h>
@@ -43,18 +43,18 @@
 		return "Failed to init connection with console.";
 
-	struct timeval start;
-	gettimeofday(&start, NULL);
+	struct timespec start;
+	getuptime(&start);
 
 	TPRINTF("Intensive computation shall be imagined (for %ds)...\n", DURATION_SECS);
 	TPRINTF("Press a key to terminate prematurely...\n");
 	while (true) {
-		struct timeval now;
-		gettimeofday(&now, NULL);
+		struct timespec now;
+		getuptime(&now);
 
-		if (tv_sub_diff(&now, &start) >= DURATION_SECS * 1000000L)
+		if (NSEC2SEC(ts_sub_diff(&now, &start)) >= DURATION_SECS)
 			break;
 
 		cons_event_t ev;
-		suseconds_t timeout = 0;
+		usec_t timeout = 0;
 		bool has_event = console_get_event_timeout(console, &ev, &timeout);
 		if (has_event && ev.type == CEV_KEY && ev.ev.key.type == KEY_PRESS) {
