""" Print 3 summary that show where the time is spend. The first show an Apply-wise summary, the second show an Op-wise summary, the third show an type-Op-wise summary.
"""
Print 3 summaries that show where the time is spent. The first shows an
Apply-wise summary, the second shows an Op-wise summary, the third
shows an type-Op-wise summary.
The Apply-wise summary print the timing information for the worst
offending Apply nodes. This corresponds to individual Op applications
within your graph which take the longest to execute (so if you use dot
twice, you will see two entries there).
The Apply-wise summary print the timing information for the worst offending Apply nodes. This corresponds to individual Op applications within your graph which take the longest to execute (so if you use dot twice, you will see two entries there).
The Op-wise summary print the execution time of all Apply nodes
The Op-wise summary print the execution time of all Apply nodes executing the same Op are grouped together and the total execution time per Op is shown (so if you use dot twice, you will see only one entry there corresponding to the sum of the time spent in each of them). If two Op have different hash value, they will be separate.
executing the same Op are grouped together and the total execution time
The type-Op-wise summary group the result by type of op. So event if two Op have different hash value, they will be merged.
per Op is shown (so if you use dot twice, you will see only one entry
there corresponding to the sum of the time spent in each of them). If
two Op have different hash value, they will be separate.
Their is an hack with the Op-wise summary. Go see it if you want to know more.
The type-Op-wise summary group the result by type of op. So event if
two Op have different hash value, they will be merged.
:param n_apply_to_print: the number of apply to print. Default 15, or n_ops_to_print flag.
There is a hack with the Op-wise summary. Go see it if you want to know
more.
:param n_ops_to_print: the number of ops to print. Default 20, or n_apply_to_print flag.
:param n_apply_to_print: the number of apply to print. Default 15, or
n_ops_to_print flag.
:param n_ops_to_print: the number of ops to print. Default 20, or
n_apply_to_print flag.
"""
"""
fct_call_time=self.mode.fct_call_time
fct_call_time=self.mode.fct_call_time
fct_call=self.mode.fct_call
fct_call=self.mode.fct_call
...
@@ -709,42 +725,48 @@ if 0: # old code still to be ported from ProfileMode
...
@@ -709,42 +725,48 @@ if 0: # old code still to be ported from ProfileMode