shithub: bench9

Download patch

ref: cce6dfb94a75af67751e2fab0d961a004e9e51d5
parent: 066c7e81fb7dc81494f90831b437e646de095853
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Wed Oct 28 09:27:02 EDT 2020

add more sleep examples

--- a/main.c
+++ b/main.c
@@ -81,6 +81,22 @@
 	}
 
 	b++;
+	benchinit(b, "sleep(5)");
+	while(b->n > 0){
+		benchin(b);
+		sleep(5);
+		benchout(b);
+	}
+
+	b++;
+	benchinit(b, "sleep(10)");
+	while(b->n > 0){
+		benchin(b);
+		sleep(10);
+		benchout(b);
+	}
+
+	b++;
 	benchinit(b, "proccreate");
 	while(b->n > 0){
 		benchin(b);