Stefan Lambrev wrote:
>> You should use hwpmc to verify where the application is really
>> spending time, since gettimeofday doesn't seem to account for it all.
> pmc: Unknown Intel CPU.
> module_register_init: MOD_LOAD (hwpmc, 0xffffffff8029906d,
> 0xffffffff8054c500) error 78
OK, this is the famous problem with modern CPUs that jkoshy has declined
to work around :( There are patches for this in perforce, see
http://perforce.freebsd.org/changeView.cgi?CH=126189
> What was the other way to do this profiling?
No other that I have found to be useful.
> Can ktrace help?
Not really, it only tells you what syscalls were made.
Kris
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"