Changeset 678f259 for doc


Ignore:
Timestamp:
Sep 2, 2021, 11:11:12 AM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
Children:
b183717
Parents:
8baaf74e
Message:

Some clean-up in the exception benchmark directory. Mostly just shortening names.

Location:
doc/theses/andrew_beach_MMath/code
Files:
1 edited
10 moved

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/code/FixupEmpty.java

    r8baaf74e r678f259  
    1 public class ResumeFixupEmpty {
     1public class FixupEmpty {
    22        public interface Fixup {
    33                public int op(int fixup);
  • doc/theses/andrew_beach_MMath/code/FixupOther.java

    r8baaf74e r678f259  
    1 public class ResumeFixupOther {
     1public class FixupOther {
    22        public interface Fixup {
    33                public int op(int fixup);
  • doc/theses/andrew_beach_MMath/code/test.sh

    r8baaf74e r678f259  
    1313#   View the result from TEST in LANGUAGE stored in FILE.
    1414
    15 readonly ITERS_1M=1000000 # 1 000 000, one million
    16 readonly ITERS_10M=10000000 # 10 000 000, ten million
    17 readonly ITERS_100M=100000000 # 100 000 000, hundred million
    18 readonly ITERS_1000M=1000000000 # 1 000 000 000, billion
     15readonly MIL=000000
     16# Various preset values used as arguments.
     17readonly ITERS_1M=1$MIL
     18readonly ITERS_10M=10$MIL
     19readonly ITERS_100M=100$MIL
     20readonly ITERS_1000M=1000$MIL
    1921readonly STACK_HEIGHT=100
    2022
     
    3032        case "$1" in
    3133        *.cfa)
    32                 # Requires a symbolic link.
    33                 mmake "${1%.cfa}" "$1" cfa -DNDEBUG -nodebug -O3 "$1" -o "${1%.cfa}"
     34                # A symbolic link/local copy can be used as an override.
     35                cmd=./cfa
     36                if [ ! -x $cmd ]; then
     37                        cmd=cfa
     38                fi
     39                mmake "${1%.cfa}" "$1" $cmd -DNDEBUG -nodebug -O3 "$1" -o "${1%.cfa}"
    3440                ;;
    3541        *.cpp)
     
    8389raise-empty)
    8490        CFAT="./throw-empty $ITERS_1M $STACK_HEIGHT"
    85 # see resume-fixup-empty-r      CFAR="./resume-empty $ITERS_1M $STACK_HEIGHT"
     91        CFAR="./resume-empty $ITERS_1M $STACK_HEIGHT"
    8692        CPP="./throw-empty-cpp $ITERS_1M $STACK_HEIGHT"
    8793        JAVA="java ThrowEmpty $ITERS_1M $STACK_HEIGHT"
     
    9096raise-detor)
    9197        CFAT="./throw-detor $ITERS_1M $STACK_HEIGHT"
    92 # N/A   CFAR="./resume-detor $ITERS_1M $STACK_HEIGHT"
     98        CFAR="./resume-detor $ITERS_1M $STACK_HEIGHT"
    9399        CPP="./throw-detor-cpp $ITERS_1M $STACK_HEIGHT"
    94100        JAVA=unsupported
     
    97103raise-finally)
    98104        CFAT="./throw-finally $ITERS_1M $STACK_HEIGHT"
    99 # N/A   CFAR="./resume-finally $ITERS_1M $STACK_HEIGHT"
     105        CFAR="./resume-finally $ITERS_1M $STACK_HEIGHT"
    100106        CPP=unsupported
    101107        JAVA="java ThrowFinally $ITERS_1M $STACK_HEIGHT"
     
    104110raise-other)
    105111        CFAT="./throw-other $ITERS_1M $STACK_HEIGHT"
    106 # N/A   CFAR="./resume-other $ITERS_1M $STACK_HEIGHT"
     112        CFAR="./resume-other $ITERS_1M $STACK_HEIGHT"
    107113        CPP="./throw-other-cpp $ITERS_1M $STACK_HEIGHT"
    108114        JAVA="java ThrowOther $ITERS_1M $STACK_HEIGHT"
     
    137143        PYTHON="./cond-catch.py $ITERS_10M 0"
    138144        ;;
    139 raise-fixup-empty)
    140         CFAT="./resume-fixup-empty-f $ITERS_10M $STACK_HEIGHT"
    141         CFAR="./resume-fixup-empty-r $ITERS_10M $STACK_HEIGHT"
    142         CPP="./resume-fixup-empty-cpp $ITERS_10M $STACK_HEIGHT"
    143         JAVA="java ResumeFixupEmpty $ITERS_10M $STACK_HEIGHT"
    144         PYTHON="./resume-fixup-empty.py $ITERS_10M $STACK_HEIGHT"
     145fixup-empty)
     146        CFAT="./fixup-empty-f $ITERS_10M $STACK_HEIGHT"
     147        CFAR="./fixup-empty-r $ITERS_10M $STACK_HEIGHT"
     148        CPP="./fixup-empty-cpp $ITERS_10M $STACK_HEIGHT"
     149        JAVA="java FixupEmpty $ITERS_10M $STACK_HEIGHT"
     150        PYTHON="./fixup-empty.py $ITERS_10M $STACK_HEIGHT"
    145151        ;;
    146 raise-fixup-other)
    147         CFAT="./resume-fixup-other-f $ITERS_10M $STACK_HEIGHT"
    148         CFAR="./resume-fixup-other-r $ITERS_10M $STACK_HEIGHT"
    149         CPP="./resume-fixup-other-cpp $ITERS_10M $STACK_HEIGHT"
    150         JAVA="java ResumeFixupOther $ITERS_10M $STACK_HEIGHT"
    151         PYTHON="./resume-fixup-other.py $ITERS_10M $STACK_HEIGHT"
     152fixup-other)
     153        CFAT="./fixup-other-f $ITERS_10M $STACK_HEIGHT"
     154        CFAR="./fixup-other-r $ITERS_10M $STACK_HEIGHT"
     155        CPP="./fixup-other-cpp $ITERS_10M $STACK_HEIGHT"
     156        JAVA="java FixupOther $ITERS_10M $STACK_HEIGHT"
     157        PYTHON="./fixup-other.py $ITERS_10M $STACK_HEIGHT"
    152158        ;;
    153159*)
Note: See TracChangeset for help on using the changeset viewer.