Skip to content

Commit

Permalink
minnor: replace 'fleg' with 'flag' spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragana Grbic committed Sep 12, 2024
1 parent b2452f0 commit f11929d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
16 changes: 8 additions & 8 deletions hatchet/graphframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,16 @@ def from_hpctoolkit_latest(
Arguments:
dirname (str): directory of an HPCToolkit performance database
directory_mapping (dict): Python dictionary that maps file system location to a name
parallel_profiles_mode (bool): fleg whether the reader should extract parallel profiles from the database (true) or the summary profile (false)
parallel_profiles_mode (bool): flag whether the reader should extract parallel profiles from the database (true) or the summary profile (false)
max_depth (int): maximum depth that nodes in the tree should have
min_percentage_of_application_time (int): minimum percentage of the application time that nodes in the tree should have
exclude_mpi_function_details (bool): fleg whether to exclude subtrees of MPI function nodes
exclude_openmp_function_details (bool): fleg whether to exclude subtrees of OpenMP function nodes
exclude_cuda_function_details (bool): fleg whether to exclude subtrees of CUDA function nodes
exclude_system_libraries_source_code (bool): fleg whether the reader should exclude subtree of a system library node
exclude_function_call_lines (bool): fleg whether to exclude source line nodes that represent place of a function call
exclude_no_source_code_instructions (bool): fleg whether to exclude nodes with no source code mapping information
label_function_nodes (bool): fleg whether to label function nodes with 'function' prefix
exclude_mpi_function_details (bool): flag whether to exclude subtrees of MPI function nodes
exclude_openmp_function_details (bool): flag whether to exclude subtrees of OpenMP function nodes
exclude_cuda_function_details (bool): flag whether to exclude subtrees of CUDA function nodes
exclude_system_libraries_source_code (bool): flag whether the reader should exclude subtree of a system library node
exclude_function_call_lines (bool): flag whether to exclude source line nodes that represent place of a function call
exclude_no_source_code_instructions (bool): flag whether to exclude nodes with no source code mapping information
label_function_nodes (bool): flag whether to label function nodes with 'function' prefix
metric_names (list): list of metrics to extract for selected profiles
metric_scopes (list): list of metric scopes to extract for selected profiles
summary_metrics (list): list of summary metrics to extract from the summary profile
Expand Down
7 changes: 4 additions & 3 deletions hatchet/readers/hpctoolkit_reader_latest.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,9 +666,10 @@ def _read_cct(
)

if entryPoint == 1:
self._total_execution_time = self._summary_profile[ctxId][
self._time_metric
]
if not self._parallel_profiles_mode or self._min_application_percentage_time is not None:
self._total_execution_time = self._summary_profile[ctxId][
self._time_metric
]

node = self._store_cct_node(
ctxId,
Expand Down

0 comments on commit f11929d

Please sign in to comment.