Skip to content

Commit

Permalink
Add profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
kdheepak committed Aug 28, 2021
1 parent 7996b3e commit 6be2992
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helics/capi.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ class HelicsLogLevel(IntEnum):

NO_PRINT = -4 # HelicsLogLevels
ERROR = 0 # HelicsLogLevels
PROFILING = 2 # HelicsLogLevels
WARNING = 3 # HelicsLogLevels
SUMMARY = 6 # HelicsLogLevels
CONNECTIONS = 9 # HelicsLogLevels
Expand All @@ -406,6 +407,7 @@ class HelicsLogLevel(IntEnum):

HELICS_LOG_LEVEL_NO_PRINT = HelicsLogLevel.NO_PRINT
HELICS_LOG_LEVEL_ERROR = HelicsLogLevel.ERROR
HELICS_LOG_LEVEL_PROFILING = HelicsLogLevel.PROFILING
HELICS_LOG_LEVEL_WARNING = HelicsLogLevel.WARNING
HELICS_LOG_LEVEL_SUMMARY = HelicsLogLevel.SUMMARY
HELICS_LOG_LEVEL_CONNECTIONS = HelicsLogLevel.CONNECTIONS
Expand All @@ -417,6 +419,7 @@ class HelicsLogLevel(IntEnum):

helics_log_level_no_print = HelicsLogLevel.NO_PRINT
helics_log_level_error = HelicsLogLevel.ERROR
helics_log_level_profiling = HelicsLogLevel.PROFILING
helics_log_level_warning = HelicsLogLevel.WARNING
helics_log_level_summary = HelicsLogLevel.SUMMARY
helics_log_level_connections = HelicsLogLevel.CONNECTIONS
Expand Down

0 comments on commit 6be2992

Please sign in to comment.