profiling_summary function¶
(Shortest import: from brian2 import profiling_summary)
-
brian2.core.network.
profiling_summary
(net=None, show=None)[source]¶ Returns a
ProfilingSummary
of the profiling info for a run. This object can be transformed to a string explicitly but on an interactive console simply callingprofiling_summary()
is enough since it will automatically convert theProfilingSummary
object.Parameters: net : {
Network
, None} optionalThe
Network
object to profile, ormagic_network
if not specified.show : int
The number of results to show (the longest results will be shown). If not specified, all results will be shown.