profiling_summary function¶
(Shortest import: from brian2 import profiling_summary)
- brian2.core.network.profiling_summary(net=None, show=None)[source]¶
Returns a
ProfilingSummaryof 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 theProfilingSummaryobject.- Parameters:
net : {
Network, None} optionalThe
Networkobject to profile, ormagic_networkif not specified.show : int
The number of results to show (the longest results will be shown). If not specified, all results will be shown.