Ignore:
Timestamp:
Jul 5, 2021, 4:59:00 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
0052ada
Parents:
ee23a8d
Message:

Added a second argument to conditional catch benchmarks. Should the exception be caught.

File:
1 edited

Legend:

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

    ree23a8d r11ad42f  
    2222        public static void main(String[] args) {
    2323                int times = 1;
    24                 int total_frames = 1;
    2524                if (0 < args.length) {
    2625                        times = Integer.parseInt(args[0]);
    2726                }
    2827                if (1 < args.length) {
    29                         total_frames = Integer.parseInt(args[1]);
     28                        should_catch = 0 != Integer.parseInt(args[1]);
    3029                }
    3130
Note: See TracChangeset for help on using the changeset viewer.