// Cross a Try Statement With Finally Clause #include #include #include #include EHM_EXCEPTION(not_raised_exception)(); int main(int argc, char * argv[]) { unsigned int times = 1; unsigned int total_frames = 1; if (1 < argc) { times = strtol(argv[1], 0p, 10); } if (2 < argc) { total_frames = strtol(argv[2], 0p, 10); } Time start_time = timeHiRes(); for (unsigned int count = 0 ; count < times ; ++count) { try { asm volatile (""); } catchResume (not_raised_exception *) { asm volatile (""); } } Time end_time = timeHiRes(); sout | "Run-Time (ns): " | (end_time - start_time)`ns; }