<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br>On Jan 30, 2009, at 1:42 , Joshua mora acosta wrote:<br><br><blockquote type="cite">In the first loop k should start with 0 instead of 1...<br></blockquote><blockquote type="cite">Then you divide by NTIMES.<br></blockquote><br>No, the first k loop starts intentionally at 1, to avoid distortion of avg and max due to initial page faults in the first pass. I concluded what the right fix is, and, as Tom Elken points out in a private mail, the fix has already been implemented in other version of stream, see <a href="http://www.cs.virginia.edu/stream/FTP/Code/stream.c">http://www.cs.virginia.edu/stream/FTP/Code/stream.c</a><br><br><br><br>Thanks, Håkon<br><br><br></body></html>