Subject: Re: one program, one machine, two wildly different execution times
To: Jim Bernard <jbernard@mines.edu>
From: Simon Burge <simonb@wasabisystems.com>
List: current-users
Date: 04/20/2003 18:00:25
David Maxwell wrote:

> Another thing you can try, which doesn't require recompiling, is to get
> a ktrace of the process for each runtime. I know you said it doesn't do
> much IO, but the timestamps on the system calls should let you narrow
> the extra delay down. At the least, you may be able to determine whether
> it's a single large hit, or many small ones.

You can also add user events to a ktrace with utrace(2) (which obviously
requires recompiling).  This may or may not be helpful...

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/