Skip to content

Commit dd25807

Browse files
tiny documentation tweaks
1 parent 52e033c commit dd25807

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/simulating_networks.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,12 @@ Performance profiling
156156
---------------------
157157
GeNN provides timers to profile the performance of different simulation phases.
158158
This is useful for identifying bottlenecks and optimizing your models.
159-
To enable timing measurements, set :attr:`.ModelSpec.timing` to ``True`` before building the model:
159+
To enable timing measurements, set :attr:`.ModelSpec.timing_enabled` to ``True`` before building the model:
160160

161161
.. code-block:: python
162162
163163
model = GeNNModel("float", "profiled_model")
164-
model.timing = True
164+
model.timing_enabled = True
165165
166166
# ... add populations and synapses ...
167167
@@ -209,7 +209,7 @@ All timing values accumulate over the lifetime of the model and are returned in
209209
.. note::
210210

211211
Enabling timing adds synchronization overhead on GPU backends which may affect
212-
performance. Timing counters are only meaningful when ``timing`` is set to
212+
performance. Timing counters are only meaningful when ``timing_enabled`` is set to
213213
``True`` before building the model.
214214

215215
.. _section-dynamic-parameters:
@@ -218,7 +218,7 @@ All timing values accumulate over the lifetime of the model and are returned in
218218
Dynamic parameters
219219
------------------
220220
As discussed previously, when building a model, parameters can be made dynamic e.g. by calling :meth:`pygenn.NeuronGroup.set_param_dynamic` on a :class:`.NeuronGroup`.
221-
The values of these parameters can then be set at runtime using the :meth:`pygenn.GroupMixin.set_dynamic_param_value` method. For example to increase the value of a
221+
The values of these parameters can then be set at runtime using the :meth:`pygenn.genn_groups.GroupMixin.set_dynamic_param_value` method. For example to increase the value of a
222222
parameter called "tau" on a population ``pop``, you could do the following:
223223

224224
.. code-block:: python

0 commit comments

Comments
 (0)