Changeset 5a40e4e for doc/theses/andrew_beach_MMath/code/try-resume.cfa
- Timestamp:
- Sep 9, 2021, 3:56:32 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- d0b9247
- Parents:
- dd1cc02 (diff), d8d512e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/code/try-resume.cfa
rdd1cc02 r5a40e4e 3 3 #include <exception.hfa> 4 4 #include <fstream.hfa> 5 #include <stdlib.hfa> 5 #include <stdlib.hfa> // strto 6 6 7 EHM_EXCEPTION(not_raised_exception)();7 exception not_raised_exception; 8 8 9 9 int main(int argc, char * argv[]) { … … 11 11 unsigned int total_frames = 1; 12 12 if (1 < argc) { 13 times = strto l(argv[1], 0p, 10);13 times = strto(argv[1], 0p, 10); 14 14 } 15 15 if (2 < argc) { 16 total_frames = strto l(argv[2], 0p, 10);16 total_frames = strto(argv[2], 0p, 10); 17 17 } 18 18 … … 26 26 } 27 27 Time end_time = timeHiRes(); 28 sout | "Run-Time ( ns): " | (end_time - start_time)`ns;28 sout | "Run-Time (s): " | wd(0,1, (end_time - start_time)`ns / 1_000_000_000.); 29 29 }
Note:
See TracChangeset
for help on using the changeset viewer.