Ignore:
Timestamp:
Oct 20, 2009, 8:52:15 PM (15 years ago)
Author:
rosiere
Message:

1) Add new algo in ifetch queue
2) Add Cancel bit
3) new config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Script/execute.sh

    r128 r136  
    137137        if test ! -z "${COMMAND[${CPT}]}"; then
    138138            local NUM=$(printf %.${NB_DIGIT}d ${CPT});
     139            local MAX=$((${NB_COMMAND}-1));
    139140
    140141#           echo "  * {"$(my_date)"} <${ID}> execute command [${NUM}] : ${COMMAND[${CPT}]}";
    141             echo "  * {"$(my_date)"} <${ID}> command [${NUM}/${NB_COMMAND}] : execute";
     142            echo "  * {"$(my_date)"} <${ID}> command [${NUM}/${MAX}] : execute";
    142143            local PATH_CURRENT=${PWD};
    143144
     
    155156            ./${OUTPUT_FILE_CMD}      &>  ${OUTPUT_FILE_OUT};
    156157            cd    ${PATH_CURRENT}     &> /dev/null;
    157             echo "  * {"$(my_date)"} <${ID}> command [${NUM}/${NB_COMMAND}] : done";
     158            echo "  * {"$(my_date)"} <${ID}> command [${NUM}/${MAX}] : done";
    158159        fi;
    159160    done;
Note: See TracChangeset for help on using the changeset viewer.