Use PRUSS to measure Linux's realtime behavior

There is some discussion about measuring real time behavior in the following book. I suggest you read the real time chapters and perhaps may save you some time coding. http://books.google.nl/books?id=I-hVqkX6A9cC&printsec=frontcover&hl=no#v=onepage&q&f=false

The book is called ‘Building Embedded Linux Systems’