Hi,


yes you can insert specific start and stop points. When I used VTune I needed to include this header in the file containing the critical code sections:  "#include <ittnotify.h>". I started the measurement on the C++ level with "__itt_resume();" and stopped it with "__itt_pause();". If I remember correctly the measurement starts in paused mode when using custom start/stop points. During compilation I needed to set these cmake flags:


-Dwith-includes=<path/to/vtune_amplifier/include/> \
-Dwith-libraries=<path/to/vtune_amplifier/lib64/libittnotify.a> \
-Dwith-debug=-g \

In general VTune is well documented and this should be explained in the documentation in more detail.


Best,
Jari


From: 512491013@qq.com <512491013@qq.com>
Sent: Monday, May 30, 2022 10:39:58 AM
To: users@nest-simulator.org
Subject: [NEST Users] Re: Test NEST performance
 
Hi Jari,

Thank you for your reply. This is very helpful to me.

If I want to test the calculation time of STDP and neuron respectively in the simulation stage, Can I only use the method of inserting specific start and stop points into the source code?


Cong
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr. Astrid Lambrecht,
Prof. Dr. Frauke Melchior
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Neugierige sind herzlich willkommen am Sonntag, den 21. August 2022, von 10:00 bis 17:00 Uhr. Mehr unter: https://www.tagderneugier.de