I am using UML in some experiments to evaluate performance of softwares
(primarily computation time). In particular I would like to record time
taken for a function execution over a period of time. I can try gprof,
but my guess is that the number of times "my" function will be called
will be overshadowed by calls to other function in the kernel. Also,
uml(2.4.19) never compiles with gprof enabled. A better way in terms of
precision is using jiffies.
However, the function executes so fast that it would have executed to
close to 80 times in a jiffy which forces me to massage the collected
data to arrive at average time per call. I saw today morning that
get_cycles() can be used to get info in terms of clock ticks which is
great, but is not supported in UML (it always returns 0 and I can see
So, have anybody else tried to deal with issues of timing? If so, how
have you addressed it?
waiting for reply,
Venkatesh Prasad Ranganath,
Dept. Computing and Information Science,
Kansas State University, US.
Get latest updates about Open Source Projects, Conferences and News.