@@ -153,7 +153,7 @@ def _aggregate_repetitions_legacy(self, point_group, progress_bar, show_warning_
153153 cnode_values = metric_values .cnode_values (r_cnode , convert_to_inclusive = True )
154154 if self .scaling_type == ScalingType .WEAK :
155155 total_values [callpaths [r_cnode .id ]].extend (map (float , cnode_values ))
156- elif self .scaling_type == ScalingType .WEAK_PARALLEL :
156+ elif self .scaling_type == ScalingType .WEAK_THREADED :
157157 values = [v for v in map (float , cnode_values ) if v != 0 ]
158158 if not values :
159159 values = map (float , cnode_values )
@@ -175,7 +175,7 @@ def _aggregate_repetitions_legacy(self, point_group, progress_bar, show_warning_
175175 if self .scaling_type == ScalingType .WEAK :
176176 # do NOT use generator it is slower
177177 aggregated_values [(callpath , metric )].extend (map (float , cnode_values ))
178- elif self .scaling_type == ScalingType .WEAK_PARALLEL :
178+ elif self .scaling_type == ScalingType .WEAK_THREADED :
179179 values = [v for v in map (float , cnode_values ) if v != 0 ]
180180 if not values :
181181 values = map (float , cnode_values )
@@ -218,7 +218,7 @@ def _aggregate_repetitions(self, point_group, progress_bar, show_warning_skipped
218218 cnode_values = metric_values .cnode_values (r_cnode , convert_to_inclusive = True )
219219 if self .scaling_type == ScalingType .WEAK :
220220 total_values [callpaths [r_cnode .id ]].append (cnode_values .astype (float ))
221- elif self .scaling_type == ScalingType .WEAK_PARALLEL :
221+ elif self .scaling_type == ScalingType .WEAK_THREADED :
222222 values = cnode_values .astype (float )
223223 non_zero_value_mask = values != 0
224224 masked_array = ma .array (values , mask = non_zero_value_mask )
@@ -239,7 +239,7 @@ def _aggregate_repetitions(self, point_group, progress_bar, show_warning_skipped
239239 # in case of weak scaling calculate mean and median over all mpi process values
240240 if self .scaling_type == ScalingType .WEAK :
241241 aggregated_values [(callpath , metric )].append (cnode_values .astype (float ))
242- elif self .scaling_type == ScalingType .WEAK_PARALLEL :
242+ elif self .scaling_type == ScalingType .WEAK_THREADED :
243243 values = cnode_values .astype (float )
244244 non_zero_value_mask = values != 0
245245 aggregated_values [(callpath , metric )].append (ma .array (values , mask = non_zero_value_mask ))
0 commit comments