View Single Post
Posts: 7 | Thanked: 0 times | Joined on Oct 2010
#1
Hi

I am interested in knowing the run time of a program I have written under Scratchbox (only command-line, no GUI is used).

To reduce the number of interruption by the scheduler, it is preferred that such 'performance measuring' code should be run when the kernel is in single user mode...
When I boot into single-user mode and try /scratchbox/login, I get "ERROR: Not allowed to run this as root!"

So my question is...
What modifications does Scratchbox allow (e.g. running kernel with certain options) so that my 'performance measuring' code returns accurate results?

Thanks