gettimeofday() in hping
stefan.lambrev at moneybookers.com
Wed Jan 23 03:34:56 PST 2008
Kris Kennaway wrote:
> Stefan Lambrev wrote:
>> Kris Kennaway wrote:
>>> 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
I got hwpmc to compile (but only as module)
hwpmc: TSC/1/0x20<REA> P6/2/0x1ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA>
but when I try to use pmcstat I receive this error message:
pmcstat: ERROR: Initialization of the pmc(3) library failed: Device not
kldstat lists hwpmc.ko as loaded and I have options HWPMC_HOOKS in my
Any idea what's go wrong?
More information about the freebsd-hackers