- Timestamp:
- Sep 2, 2021, 11:46:03 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- 761e146
- Parents:
- 678f259
- Location:
- doc/theses/andrew_beach_MMath/code
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/code/cond-catch.py
r678f259 rb183717 32 32 33 33 end_time = thread_time_ns() 34 print('Run-Time (s) {:.1f}:'.format((end_time - start_time) / 1_000_000_000.))34 print('Run-Time (s): {:.1f}'.format((end_time - start_time) / 1_000_000_000.)) 35 35 36 36 -
doc/theses/andrew_beach_MMath/code/fixup-empty.py
r678f259 rb183717 25 25 26 26 end_time = thread_time_ns() 27 print('Run-Time (s) {:.1f}:'.format((end_time - start_time) / 1_000_000_000.))27 print('Run-Time (s): {:.1f}'.format((end_time - start_time) / 1_000_000_000.)) 28 28 29 29 -
doc/theses/andrew_beach_MMath/code/fixup-other.py
r678f259 rb183717 27 27 28 28 end_time = thread_time_ns() 29 print('Run-Time (s) {:.1f}:'.format((end_time - start_time) / 1_000_000_000.))29 print('Run-Time (s): {:.1f}'.format((end_time - start_time) / 1_000_000_000.)) 30 30 31 31 -
doc/theses/andrew_beach_MMath/code/run.sh
r678f259 rb183717 1 1 #!/usr/bin/env bash 2 2 3 readonly ALL_TESTS=(raise-{empty,detor,finally,other} try-{catch,finally} cond-match-{all,none}\4 raise-{fixup-empty,fixup-other})3 readonly ALL_TESTS=(raise-{empty,detor,finally,other} try-{catch,finally} \ 4 cond-match-{all,none} fixup-{empty,other}) 5 5 6 6 gen-file-name() ( … … 18 18 ) 19 19 20 #readonly N=${1:-5}21 20 readonly N=${1:-1} 22 21 readonly OUT_FILE=$(gen-file-name ${2:-run-%-$N}) -
doc/theses/andrew_beach_MMath/code/throw-empty.py
r678f259 rb183717 33 33 34 34 end_time = thread_time_ns() 35 print('Run-Time (s) {:.1f}:'.format((end_time - start_time) / 1_000_000_000.))35 print('Run-Time (s): {:.1f}'.format((end_time - start_time) / 1_000_000_000.)) 36 36 37 37 -
doc/theses/andrew_beach_MMath/code/throw-finally.py
r678f259 rb183717 36 36 37 37 end_time = thread_time_ns() 38 print('Run-Time (s) {:.1f}:'.format((end_time - start_time) / 1_000_000_000.))38 print('Run-Time (s): {:.1f}'.format((end_time - start_time) / 1_000_000_000.)) 39 39 40 40 -
doc/theses/andrew_beach_MMath/code/throw-other.py
r678f259 rb183717 40 40 41 41 end_time = thread_time_ns() 42 print('Run-Time (s) {:.1f}:'.format((end_time - start_time) / 1_000_000_000.))42 print('Run-Time (s): {:.1f}'.format((end_time - start_time) / 1_000_000_000.)) 43 43 44 44 -
doc/theses/andrew_beach_MMath/code/throw-with.py
r678f259 rb183717 43 43 44 44 end_time = thread_time_ns() 45 print('Run-Time (s) {:.1f}:'.format((end_time - start_time) / 1_000_000_000.))45 print('Run-Time (s): {:.1f}'.format((end_time - start_time) / 1_000_000_000.)) 46 46 47 47 -
doc/theses/andrew_beach_MMath/code/try-catch.py
r678f259 rb183717 23 23 24 24 end_time = thread_time_ns() 25 print('Run-Time (s) {:.1f}:'.format((end_time - start_time) / 1_000_000_000.))25 print('Run-Time (s): {:.1f}'.format((end_time - start_time) / 1_000_000_000.)) 26 26 27 27 -
doc/theses/andrew_beach_MMath/code/try-finally.py
r678f259 rb183717 22 22 23 23 end_time = thread_time_ns() 24 print('Run-Time (s) {:.1f}:'.format((end_time - start_time) / 1_000_000_000.))24 print('Run-Time (s): {:.1f}'.format((end_time - start_time) / 1_000_000_000.)) 25 25 26 26
Note: See TracChangeset
for help on using the changeset viewer.