anton wrote:
Hi,
I want to measure the latency of my linux box before installing the low lat
kernel. I found the latencytest0.42-png program.
When compiling I get some warnings (see below)
anton@stereocilia:~/latencytest0.42-png> make
gcc -Wall -O2 -DUSE_PENTIUM_TIMER -c latencytest.c
latencytest.c: In function `main':
latencytest.c:156: warning: passing arg 2 of `signal' from incompatible
pointer type
latencytest.c:157: warning: passing arg 2 of `signal' from incompatible
pointer type
gcc -Wall -O2 -DUSE_PENTIUM_TIMER -c gfx.c
gcc -o latencytest latencytest.o gfx.o -lm -lgd -lpng
gcc -Wall -O2 -DUSE_PENTIUM_TIMER -c rtc_latencytest.c
rtc_latencytest.c: In function `main':
rtc_latencytest.c:142: warning: passing arg 2 of `signal' from incompatible
pointer type
rtc_latencytest.c:143: warning: passing arg 2 of `signal' from incompatible
pointer type
gcc -o rtc_latencytest rtc_latencytest.o gfx.o -lm -lgd -lpng
It fails to compile the rtc test but should still work for hte other tests.
Running ./do_tests gives me lots of errors:
Are you running this with root privs? You don't appear to be.
anton@stereocilia:~/latencytest0.42-png>
./do_tests
mlockall() failed, exiting. mlock: Operation not permitted
x11perf - X11 performance program, version 1.5
The XFree86 Project, Inc server version 40200000 on :0.0
from stereocilia
Sun Nov 10 18:03:41 2002
Sync time adjustment is 0.1274 msecs.
20000 reps @ 0.4161 msec ( 2400.0/sec): Scroll 500x500 pixels
[more output here]
1200 reps @ 5.9190 msec ( 169.0/sec): ShmPutImage 500x500 square
[more output here]
mv: cannot stat `out.png': No such file or directory
mlockall() failed, exiting. mlock: Operation not permitted
mv: cannot stat `out.png': No such file or directory
mlockall() failed, exiting. mlock: Operation not permitted
head: /dev/zero: invalid number of bytes
mv: cannot stat `out.png': No such file or directory
-rw-r--r-- 1 anton users 0 2002-11-10 18:05 tmpfile
mlockall() failed, exiting. mlock: Operation not permitted
mv: cannot stat `out.png': No such file or directory
-rw-r--r-- 1 anton users 0 2002-11-10 18:05 tmpfile
-rw-r--r-- 1 anton users 0 2002-11-10 18:05 tmpfile2
mlockall() failed, exiting. mlock: Operation not permitted
-rw-r--r-- 1 anton users 0 2002-11-10 18:05 tmpfile
-rw-r--r-- 1 anton users 0 2002-11-10 18:05 tmpfile2
mv: cannot stat `out.png': No such file or directory
I am using Suse 8.1 with the default 2.4.19 kernel. It is probably something
very stupid but I cannot figure out what. Any help would be appreciated.
Regards
Anton
--
Patrick Shirkey - Boost Hardware Ltd.
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.djcj.org - The Linux Audio Users guide
========================================
Being on stage with the band in front of crowds shouting, "Get off! No!
We want normal music!", I think that was more like acting than anything
I've ever done.
Goldie, 8 Nov, 2002
The Scotsman