<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hmm, that is a good catch. I agree with Kathryn's interpretation - in particular the use case she is laying out. If one does:<div><br></div><div>Reset</div><div>Start</div><div>Stop</div><div><br></div><div>You want the watermark from that interval, i.e., the starting value as of the start call should be the right thing. This is something we definitely should clarify.</div><div><br></div><div>Thanks,</div><div><br></div><div>Martin</div><div><br></div><div><br></div><div><br><div><div>On Sep 18, 2013, at 8:33 PM, Kathryn Mohror <<a href="mailto:kathryn@llnl.gov">kathryn@llnl.gov</a>></div><div> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Junchao,<div><br><div><blockquote type="cite"><div dir="ltr"><div> What is the right behavior when resetting a stopped pvar? The standard says setting to its starting value.</div><div> For counters, timers etc, setting them to zero sounds reasonable.</div><div>
But for a watermark, setting it to "the current utilization level" looks weird. It implies that a value caught during the stopped period can affect its future value when the pvar is re-started.</div><div> Probably, we should reset a stopped watermark to a state as if it has never been started.</div>
<div> Any comments? Thanks<br></div></div></blockquote><div><br></div>Hmm. It makes sense to me, but I'll let others chime in if they disagree. I think that the moment you start the watermark variable, you want to know what the "mark" is, so it would be the value of current utilization. So even if a higher (or lower) value is caught during the stopped period (which it shouldn't be, because variables aren't supposed to be updated when stopped), it will be set to the current utilization value when started. I interpret this as being able to measure the watermark during different epochs of the program execution. Every time you start the variable, it's a fresh epoch and you want to know what the watermark was during that epoch.</div><div><br></div><div>However, I can see how this isn't clear as it could be -- I'll try to see what we can do to clarify it in the text.</div><div><br></div><div>Thanks again for taking the time to give us this feedback.</div><div><br></div><div>Kathryn</div><div><br></div><div><br><blockquote type="cite"><div dir="ltr"><div><div><div dir="ltr">--Junchao Zhang</div></div>
</div>
</div>
_______________________________________________<br>mpiwg-tools mailing list<br><a href="mailto:mpiwg-tools@lists.mpi-forum.org">mpiwg-tools@lists.mpi-forum.org</a><br><a href="http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools">http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools</a></blockquote></div><br><div>
<div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>______________________________________________________________<br>Kathryn Mohror, <a href="mailto:kathryn@llnl.gov">kathryn@llnl.gov</a>, <a href="http://people.llnl.gov/mohror1">http://people.llnl.gov/mohror1</a><br>CASC @ Lawrence Livermore National Laboratory, Livermore, CA, USA</div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></div>_______________________________________________<br>mpiwg-tools mailing list<br><a href="mailto:mpiwg-tools@lists.mpi-forum.org">mpiwg-tools@lists.mpi-forum.org</a><br>http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools</blockquote></div><br><div>
<div>________________________________________________________________________<br>Martin Schulz, <a href="mailto:schulzm@llnl.gov">schulzm@llnl.gov</a>, <a href="http://people.llnl.gov/schulzm">http://people.llnl.gov/schulzm</a><br>CASC @ Lawrence Livermore National Laboratory, Livermore, USA</div>
</div>
<br></div></body></html>