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/cond-match.cpp

    ree23a8d r11ad42f  
    2727int main(int argc, char * argv[]) {
    2828        unsigned int times = 1;
    29         unsigned int total_frames = 1;
    3029        if (1 < argc) {
    3130                times = strtol(argv[1], nullptr, 10);
    3231        }
    3332        if (2 < argc) {
    34                 total_frames = strtol(argv[2], nullptr, 10);
     33                should_catch = strtol(argv[2], nullptr, 10);
    3534        }
    3635
Note: See TracChangeset for help on using the changeset viewer.