Add support for shutdown from interactive console#1311
Add support for shutdown from interactive console#1311feldergast merged 4 commits intosstsimulator:develfrom
Conversation
|
CLANG-FORMAT TEST - PASSED |
|
CMAKE-FORMAT TEST - PASSED |
|
CLANG-FORMAT TEST - FAILED (on last commit): |
|
CMAKE-FORMAT TEST - PASSED |
|
Status Flag 'Pre-Test Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging |
|
CLANG-FORMAT TEST - FAILED (on last commit): |
|
CMAKE-FORMAT TEST - PASSED |
|
CLANG-FORMAT TEST - PASSED |
|
CMAKE-FORMAT TEST - PASSED |
|
Status Flag 'Pre-Test Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging |
|
CLANG-FORMAT TEST - PASSED |
|
CMAKE-FORMAT TEST - PASSED |
|
Status Flag 'Pre-Test Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED by label AT: PRE-TEST INSPECTED! Autotester is Removing Label; this inspection will remain valid until a new commit to source branch is performed. |
|
Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects: Pull Request Auto Testing STARTING (click to expand)Build InformationTest Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-elements
Build InformationTest Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-elements_MR-2
Build InformationTest Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-elements_MT-2
Build InformationTest Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-core_Make-Dist
Build InformationTest Name: SST__AutotestGen2_NewFW_OSX-14-XC15-ARM2_OMPI-4.1.6_PY3.10_sst-elements
Using Repos:
Pull Request Author: skuntz |
|
Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED Pull Request Auto Testing has PASSED (click to expand)Build InformationTest Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-elements
Build InformationTest Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-elements_MR-2
Build InformationTest Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-elements_MT-2
Build InformationTest Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-core_Make-Dist
Build InformationTest Name: SST__AutotestGen2_NewFW_OSX-14-XC15-ARM2_OMPI-4.1.6_PY3.10_sst-elements
|
|
Status Flag 'Pre-Merge Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED AND APPROVED by [ feldergast ]! |
|
Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - This Repo does not support Automerge |
Major Changes: - config.h, config.cc Add support for interactive realtime action, sst.rt.interactive (sstsimulator#1266) Add checkpoint-enable flag to enable checkpointing in interactive console. Make sst.rt.simpledebug the default for interactive console and only use --interactive-console to specify a custom IC File replay option ( --replay ) - from_string.h: Full precision printing of float types. Scientific notation when value is greated than 10**6 or less than 10**-6 - impl/interactive/Makefile.inc Included cmdLineEditor files for build - impl/interactive/cmdLineEditor.h, impl/interactive/cmdLineEditor.cc In-line command editing support - impl/interactive/simpleDebug.h, impl/interactive/simpleDebug.cc Shutdown support (sstsimulator#1311) Watchpoint support Add checkpoint-enabled flag to enable in interactive console. Make sst.rtl.simpledebug the default of interactive console. Only use --interactive-console to specify custom IC. Allow for empty command and other minor whitespace annoyances. Console command logging and replay. Support commented lines for replay scripts. Consolidated commands into a command funtion table. Standardized specifying commands, help text, and command groups Provided auto-completion support for commands and object names Various nullptr checks and fixes to avoid segmentation faults. - interactiveConsole.h Add support for shutdown (sstsimulator#1311) - serialization/objectMap.cc, serialization/objectMap.h Support for trace buffers and watchpoint actions Circular buffer and trigger recording Add ability to check/sample before and after both clock and event handlers. Watchpoint support for adding set var val action. Support for trigger comparison between two variables. All set string to handle spaces. watchpoint verbosity control Various bug fixes for command line editing Fixes for nullptr checks and address sanitizer issues causing seg faults. - simulation.cc Interactive console realtime action (sstsimulator#1266) Addition of checkpoint-enable flag to enable checkpoint in IC. Make sst.rt.simpledebug the default for IC replay option for IC - watchPoint.h, watchPoint.cc Circular buffer, trigger record. Add ability to check/sample before and after both clock and event handlers Add watchpoint action class and add set var val action Add support for trigger comparison between two variables Update watchpoint handling Allow set string to handle spaces Add shutdown as trigger action Add watchpoint index to watchpoint class Add checkpoint-enable flag to enable checkpointing in interactive console. Make sst.rt.simpledebug the default for interactive console. Only use --interactive-console to specify a custom IC. watchpoint verbosity control
Major Changes: - config.h, config.cc Add support for interactive realtime action, sst.rt.interactive (sstsimulator#1266) Add checkpoint-enable flag to enable checkpointing in interactive console. Make sst.rt.simpledebug the default for interactive console and only use --interactive-console to specify a custom IC File replay option ( --replay ) - from_string.h: Full precision printing of float types. Scientific notation when value is greated than 10**6 or less than 10**-6 - impl/interactive/Makefile.inc Included cmdLineEditor files for build - impl/interactive/cmdLineEditor.h, impl/interactive/cmdLineEditor.cc In-line command editing support - impl/interactive/simpleDebug.h, impl/interactive/simpleDebug.cc Shutdown support (sstsimulator#1311) Watchpoint support Add checkpoint-enabled flag to enable in interactive console. Make sst.rtl.simpledebug the default of interactive console. Only use --interactive-console to specify custom IC. Allow for empty command and other minor whitespace annoyances. Console command logging and replay. Support commented lines for replay scripts. Consolidated commands into a command funtion table. Standardized specifying commands, help text, and command groups Provided auto-completion support for commands and object names Various nullptr checks and fixes to avoid segmentation faults. - interactiveConsole.h Add support for shutdown (sstsimulator#1311) - serialization/objectMap.cc, serialization/objectMap.h Support for trace buffers and watchpoint actions Circular buffer and trigger recording Add ability to check/sample before and after both clock and event handlers. Watchpoint support for adding set var val action. Support for trigger comparison between two variables. All set string to handle spaces. watchpoint verbosity control Various bug fixes for command line editing Fixes for nullptr checks and address sanitizer issues causing seg faults. - simulation.cc Interactive console realtime action (sstsimulator#1266) Addition of checkpoint-enable flag to enable checkpoint in IC. Make sst.rt.simpledebug the default for IC replay option for IC - watchPoint.h, watchPoint.cc Circular buffer, trigger record. Add ability to check/sample before and after both clock and event handlers Add watchpoint action class and add set var val action Add support for trigger comparison between two variables Update watchpoint handling Allow set string to handle spaces Add shutdown as trigger action Add watchpoint index to watchpoint class Add checkpoint-enable flag to enable checkpointing in interactive console. Make sst.rt.simpledebug the default for interactive console. Only use --interactive-console to specify a custom IC. watchpoint verbosity control
Major Changes: - config.h, config.cc Add support for interactive realtime action, sst.rt.interactive (sstsimulator#1266) Add checkpoint-enable flag to enable checkpointing in interactive console. Make sst.interactive.simpledebug the default for interactive console and only use --interactive-console to specify a custom IC File replay option ( --replay ) - from_string.h: Full precision printing of float types. Scientific notation when value is greated than 10**6 or less than 10**-6 - impl/interactive/Makefile.inc Included cmdLineEditor files for build - impl/interactive/cmdLineEditor.h, impl/interactive/cmdLineEditor.cc In-line command editing support - impl/interactive/simpleDebug.h, impl/interactive/simpleDebug.cc Shutdown support (sstsimulator#1311) Watchpoint support Add checkpoint-enabled flag to enable in interactive console. Make sst.rtl.simpledebug the default of interactive console. Only use --interactive-console to specify custom IC. Allow for empty command and other minor whitespace annoyances. Console command logging and replay. Support commented lines for replay scripts. Consolidated commands into a command funtion table. Standardized specifying commands, help text, and command groups Provided auto-completion support for commands and object names Various nullptr checks and fixes to avoid segmentation faults. - interactiveConsole.h Add support for shutdown (sstsimulator#1311) - serialization/objectMap.cc, serialization/objectMap.h Support for trace buffers and watchpoint actions Circular buffer and trigger recording Add ability to check/sample before and after both clock and event handlers. Watchpoint support for adding set var val action. Extended trigger tests functionality: support for logic operators (e.g. v1 < 10 && v2 > 5) and comparisons between two variables Support for trigger comparison between two variables. All set string to handle spaces. watchpoint verbosity control Various bug fixes for command line editing Fixes for nullptr checks and address sanitizer issues causing seg faults. - simulation.cc Interactive console realtime action (sstsimulator#1266) Addition of checkpoint-enable flag to enable checkpoint in IC. Make sst.interactive.simpledebug the default for IC replay option for IC - watchPoint.h, watchPoint.cc Circular buffer, trigger record. Add ability to check/sample before and after both clock and event handlers Add watchpoint action class and add set var val action Add support for trigger comparison between two variables Update watchpoint handling Allow set string to handle spaces Add shutdown as trigger action Add watchpoint index to watchpoint class Add checkpoint-enable flag to enable checkpointing in interactive console. Make sst.interactive.simpledebug the default for interactive console. Only use --interactive-console to specify a custom IC. watchpoint verbosity control
* Latest TCL code for interactive console. Major Changes: - config.h, config.cc Add support for interactive realtime action, sst.rt.interactive (#1266) Add checkpoint-enable flag to enable checkpointing in interactive console. Make sst.interactive.simpledebug the default for interactive console and only use --interactive-console to specify a custom IC File replay option ( --replay ) - from_string.h: Full precision printing of float types. Scientific notation when value is greated than 10**6 or less than 10**-6 - impl/interactive/Makefile.inc Included cmdLineEditor files for build - impl/interactive/cmdLineEditor.h, impl/interactive/cmdLineEditor.cc In-line command editing support - impl/interactive/simpleDebug.h, impl/interactive/simpleDebug.cc Shutdown support (#1311) Watchpoint support Add checkpoint-enabled flag to enable in interactive console. Make sst.rtl.simpledebug the default of interactive console. Only use --interactive-console to specify custom IC. Allow for empty command and other minor whitespace annoyances. Console command logging and replay. Support commented lines for replay scripts. Consolidated commands into a command funtion table. Standardized specifying commands, help text, and command groups Provided auto-completion support for commands and object names Various nullptr checks and fixes to avoid segmentation faults. - interactiveConsole.h Add support for shutdown (#1311) - serialization/objectMap.cc, serialization/objectMap.h Support for trace buffers and watchpoint actions Circular buffer and trigger recording Add ability to check/sample before and after both clock and event handlers. Watchpoint support for adding set var val action. Extended trigger tests functionality: support for logic operators (e.g. v1 < 10 && v2 > 5) and comparisons between two variables Support for trigger comparison between two variables. All set string to handle spaces. watchpoint verbosity control Various bug fixes for command line editing Fixes for nullptr checks and address sanitizer issues causing seg faults. - simulation.cc Interactive console realtime action (#1266) Addition of checkpoint-enable flag to enable checkpoint in IC. Make sst.interactive.simpledebug the default for IC replay option for IC - watchPoint.h, watchPoint.cc Circular buffer, trigger record. Add ability to check/sample before and after both clock and event handlers Add watchpoint action class and add set var val action Add support for trigger comparison between two variables Update watchpoint handling Allow set string to handle spaces Add shutdown as trigger action Add watchpoint index to watchpoint class Add checkpoint-enable flag to enable checkpointing in interactive console. Make sst.interactive.simpledebug the default for interactive console. Only use --interactive-console to specify a custom IC. watchpoint verbosity control * comment update * Added watchPoint.h for disti. Required for use with interactiveConsole.h --------- Co-authored-by: Kenneth Griesser <kgriesser@tclcomplabs.com>
Experimental - not required for 15.0 release
Add support to interactiveConsole for an interactiveShutdown function that exits the interactive console and does a clean shutdown of the simulation. This is modeled after the signalShutdown function in simulation.cc and tested in the simpleDebug prototype.
Instructions for Issuing a Pull Request to sst-core
1 - Verify that the Pull Request is targeted to the devel branch of sstsimulator/sst-core
2 - Verify that Source branch is up to date with the devel branch of sst-core
3 - After submitting your Pull Request: