Skip to content

Commit

Permalink
test something
Browse files Browse the repository at this point in the history
  • Loading branch information
angelhof committed Dec 8, 2023
1 parent 53a76af commit 49381d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions compiler/pash_compilation_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,9 @@ def get_averages_per_width(self, input_ir_file):

## This adds the time measurement, or just removes the entry if there is no exec_time (for space reclamation)
def handle_time_measurement(self, process_id, exec_time):
## TODO: Could put those behind the profile_driven check too to not fill memory
assert self.process_id_input_ir_map[process_id].exec_time is None
## 2023-12-08 KK: When in parallel pipelines we receive two exits (when I tried to make it one something got stuck...)
## so this assert is not true
# assert self.process_id_input_ir_map[process_id].exec_time is None

## If we don't have the exec time we do Nothing
##
Expand Down
1 change: 1 addition & 0 deletions compiler/pash_runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ else
trap inform_daemon_exit SIGTERM SIGINT EXIT
export SCRIPT_TO_EXECUTE="$pash_script_to_execute"
source "$RUNTIME_DIR/pash_restore_state_and_execute.sh"
inform_daemon_exit
}
# Should we redirect errors aswell?
# TODO: capturing the return state here isn't completely correct.
Expand Down

0 comments on commit 49381d0

Please sign in to comment.