[Wireshark-dev] Reusing the code for various things in ieee802.11 in other dissectors ...

2017-10-14 Thread Richard Sharpe
Hi folks, I am almost finished a dissector for the IEEE1905 Multi-AP technical specification draft from August 2017. The work was done for an organization in the industry. It is pretty complete and has undergone testing with real traffic. Unfortunately, they make references to elements in

Re: [Wireshark-dev] epan/asm_utils* and NASM

2017-10-14 Thread João Valverde
On 13-10-2017 21:50, Gerald Combs wrote: Before we migrated away from NMake, epan/Makefile.nmake built the assembly versions of various routines for x86 (but not x64) defined in epan/asm_utils_win32_x86.asm. Should we resurrect it in epan/CMakeLists.txt or get rid of it along with the NASM

[Wireshark-dev] Tips regarding measuring function execution times

2017-10-14 Thread Paul Offord
I'm investigating a performance problem with the TRANSUM dissector. I'd like to measure the accumulated time taken to execute a function in a Release build. My basic idea is to do something like this: guint32 execute_time_us; . . start_stopwatch(_time_us); function_call_to_be_measured();