Hi Max,

I have done some development on Linux but I’m currently the Wireshark stuff on 
Windows and Visual Studio.  If I get stuck and can’t get the info I need I may 
put the code on my Centos laptop.

Thanks and regards…Paul

From: wireshark-dev-boun...@wireshark.org 
[mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Max Dmitrichenko
Sent: 21 September 2016 18:19
To: Developer support list for Wireshark <wireshark-dev@wireshark.org>
Subject: Re: [Wireshark-dev] The cost of memory allocation

2016-09-21 12:14 GMT+03:00 Paul Offord 
Thanks Graham – that’s a great point and I’ll take a look this evening with a 
Release build.

Paul, if you are familiar with Linux, I may recommend you to use callgrind tool 
from the valgrind toolset for this purpose. Its reports can be viewed with 
KCachegrind and they are very informative. The only disadvantage is that is 
slows down execution by the factor of 8-10 since it virtualizes execution of 
all process'es instructions to estimate accurate number of machine cycles 
needed for execution and to build a good callgraph. The advantage is that 
report is not a statistic based on many snapshots of process state but is an 
accurate estimation of virtually any single function call with a perfect 
estimation of time taken by the function body and of time taken by all its 
callees. Also you can use it on a release build without any modification.

With best regards
  Max Dmitrichenko


This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system.

Any views or opinions expressed are solely those of the author and do not 
necessarily represent those of Advance Seven Ltd. E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be intercepted, 
corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The 
sender therefore does not accept liability for any errors or omissions in the 
contents of this message, which arise as a result of e-mail transmission.

Advance Seven Ltd. Registered in England & Wales numbered 2373877 at Endeavour 
House, Coopers End Lane, Stansted, Essex CM24 1SJ

This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev

Reply via email to