From 5726e13c8b80ebc447a9ef423bed6e1471654ec1 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sun, 20 May 2007 23:22:17 +0000 Subject: [PATCH] Revert sc1 to testing getuid() like it says it does in the output. --- test/sysperf/syscall1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/sysperf/syscall1.c b/test/sysperf/syscall1.c index 721846857..92f2cb031 100644 --- a/test/sysperf/syscall1.c +++ b/test/sysperf/syscall1.c @@ -1,7 +1,7 @@ /* * syscall1.c * - * $DragonFly: src/test/sysperf/syscall1.c,v 1.2 2006/11/07 06:57:02 dillon Exp $ + * $DragonFly: src/test/sysperf/syscall1.c,v 1.3 2007/05/20 23:22:17 dillon Exp $ */ #include "blib.h" @@ -19,14 +19,14 @@ main(int ac, char **av) start_timing(); while (stop_timing(0, NULL) == 0) { for (j = 0; j < 100; ++j) - read(0, &c, 1); + getuid(); count += 100; } max = count; start_timing(); for (count = 0; count < max; count += 100) { for (j = 0; j < 100; ++j) - read(0, &c, 1); + getuid(); } stop_timing(count, "getuid()"); return(0); -- 2.11.4.GIT