Skip to content

Commit c9d1c4f

Browse files
committed
compiler: Add Profiler.high_verbosity
1 parent 11d5fa2 commit c9d1c4f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

devito/operator/profiling.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ def record_ops_variation(self, initial, final):
180180
def all_sections(self):
181181
return list(self._sections) + flatten(self._subsections.values())
182182

183+
@property
184+
def high_verbosity(self):
185+
return self._verbosity >= 2
186+
183187
def summary(self, args, dtype, reduce_over=None):
184188
"""
185189
Return a PerformanceSummary of the profiled sections.

0 commit comments

Comments
 (0)