-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature stonewall perf report #166
Conversation
fprintf(out_logfile, "%14.3f ", mean); | ||
fprintf(out_logfile, "%14.3f\n", sd); | ||
fflush(out_logfile); | ||
if (i != 2) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line here 'if (i != 2) {' is hard to read. What is 'i' and what is '2'? This is not really related to your PR but it'd be nice if 'i' had a better variable name and if 2 was an enum or something. Maybe just a comment here to remind the reader what these values are? Then later we should go back I think and give 'i' a more meaningful name. 'i' is useful as the index within a tight loop but here I think it is being used as something else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
OK to merge despite the |
The line existed before just now outside the if()
Cleanup => next time ^-^
Am Fr., 2. Aug. 2019 um 14:34 Uhr schrieb Glenn K. Lockwood <
notifications@github.com>:
… OK to merge despite the i == 2 bit? I'm OK with kicking the can on this,
as there are way worse offenses in both IOR and mdtest.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#166?email_source=notifications&email_token=ABGW5SULIJ2J5VY2RKOIK7TQCQZVLA5CNFSM4IISV6A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3NYIFQ#issuecomment-517702678>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABGW5SWSB3WQSU7WF76YZBTQCQZVLANCNFSM4IISV6AQ>
.
--
Dr. Julian Kunkel
Lecturer, Department of Computer Science
+44 (0) 118 378 8218
http://www.cs.reading.ac.uk/
https://hps.vi4io.org/
PGP Fingerprint: 1468 1A86 A908 D77E B40F 45D6 2B15 73A5 9D39 A28E
|
+1. I don’t think this PR added this. I just noticed it while reading the
PR. :)
…On Fri, Aug 2, 2019 at 10:34 PM Glenn K. Lockwood ***@***.***> wrote:
OK to merge despite the i == 2 bit? I'm OK with kicking the can on this,
as there are way worse offenses in both IOR and mdtest.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#166?email_source=notifications&email_token=AAPT2PVPAPDVYWOP7UAETJ3QCQZVJA5CNFSM4IISV6A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3NYIFQ#issuecomment-517702678>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPT2PT7GVTSB7LHQNY5P53QCQZVJANCNFSM4IISV6AQ>
.
|
MDTest and IOR can output the performance when hitting the stonewall.
Also allow to output rate and tp for mdtest.