Re: How to calculate memory usage?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,
    Hi I wanted to profile time taken by a particular funtion in an 
application. I had been using gettimeofday() till now and calculating the 
time diff b/w the call of the function and its return.
    I read in a forum that even though it shows a resolution of microseconds 
it is incorrect. The true resolution is only the order of microseconds. Is 
the microsecond part really unreliable (fake) ??
    How do I profile my code other wise ?
Thanks in advance,
MK 


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux