You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+4
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,8 @@ set( with-models OFF CACHE STRING "The models to include as a semicolon-separate
68
68
set( tics_per_ms "1000.0"CACHESTRING"Specify elementary unit of time [default=1000 tics per ms]." )
69
69
set( tics_per_step "100"CACHESTRING"Specify resolution [default=100 tics per step]." )
70
70
set( with-detailed-timers OFFCACHESTRING"Build with detailed internal time measurements [default=OFF]. Detailed timers can affect the performance." )
71
+
set( with-mpi-sync-timer OFFCACHESTRING"Build with mpi synchronization barrier and timer [default=OFF]. Can affect the performance." )
72
+
set( with-threaded-timers ONCACHESTRING"Build with one internal timer per thread [default=ON]. Multi-threaded timers can affect the performance." )
71
73
set( target-bits-split "standard"CACHESTRING"Split of the 64-bit target neuron identifier type [default='standard']. 'standard' is recommended for most users. If running on more than 262144 MPI processes or more than 512 threads, change to 'hpc'." )
|``time_omp_synchronization_construction`` |Synchronization time of threads during network construction. |``time_construction_create``, ``time_construction_connect``, ``time_communicate_prepare`` |
In previous NEST versions, only the master thread measured timers. Since NEST 3.9, timers which measure time spent exclusively in multi-threaded environments are recorded by each thread individually.
119
+
120
+
The legacy timer behavior can be restored via the ``-Dwith-threaded-timers=OFF`` CMake flag.
121
+
122
+
Wall-time vs. CPU-time
123
+
-------------------------
124
+
All timers in NEST measure the actual wall-time spent between starting and stopping the timer. In order to only measure
125
+
time spent on calculations, there is an additional variant for each of the timers above, suffixed with ``_cpu``. They
126
+
can be accessed in the exact same way. For example:
0 commit comments