top - Adjust top display
[dragonfly.git] / test / sysperf / call1.c
blob4b18e485b496f8648a214dc89d1fca6a611c4152
1 /*
2 * call1.c
4 * Test a standard function call to a function which does nothing much.
6 * $DragonFly: src/test/sysperf/call1.c,v 1.1 2004/03/20 01:51:01 dillon Exp $
7 */
9 #include "blib.h"
11 #define LOOP 1000000000
13 int
14 main(int ac, char **av)
16 int i;
18 printf("call nop() function in loop\n");
19 start_timing();
20 for (i = 0; i < LOOP; ++i)
21 nop();
22 stop_timing(LOOP, "loop1/user");
23 return(0);