haas:fall2020:discrete:projects:pnc2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2020:discrete:projects:pnc2 [2020/10/22 09:36] – [Program Specifications] wedge | haas:fall2020:discrete:projects:pnc2 [2020/11/02 10:41] (current) – [Evaluation Criteria] wedge | ||
---|---|---|---|
Line 564: | Line 564: | ||
====Displaying the runtime==== | ====Displaying the runtime==== | ||
- | Once we have the starting and ending times, we can display this to the **timing** file pointer. You'll want this line: | + | Once we have the starting and ending times, we can display this to the **stderr** file pointer. You'll want this line: |
<code c> | <code c> | ||
- | fprintf(timing, " | + | fprintf(stderr, " |
time_end.tv_sec-time_start.tv_sec+((time_end.tv_usec-time_start.tv_usec)/ | time_end.tv_sec-time_start.tv_sec+((time_end.tv_usec-time_start.tv_usec)/ | ||
</ | </ | ||
Line 748: | Line 748: | ||
< | < | ||
- | 78: | + | 78: |
</ | </ | ||
Line 754: | Line 754: | ||
< | < | ||
- | *: | + | *: |
- | *: | + | *: |
- | *: | + | *: |
- | *: | + | *: |
- | *: | + | *: |
- | *: | + | *: |
- | *: | + | *: |
- | *: | + | *: |
- | *: | + | |
</ | </ | ||
haas/fall2020/discrete/projects/pnc2.1603373795.txt.gz · Last modified: 2020/10/22 09:36 by wedge