<div dir="ltr"><div dir="ltr">On Sun, Apr 21, 2019 at 9:28 AM TAY wee-beng via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>I'm trying to do some logging as well as timing of my code?</p>
    <p>May I know if PetscLogEventBegin and PetscLogEventEnd slow down
      my code if it's called every time step?<br></p></div></blockquote><div>At the granularity of a timestep should not be a problem. At the granularity of every entry in a Jacobian, it could</div><div>be a problem.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     MAtt </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><p>
    </p>
    <div class="gmail-m_1375340742345185297moz-signature">-- <br>
      <p>Thank you very much.<br>
        <br>
        Yours sincerely,<br>
        <br>
        ================================================<br>
        TAY Wee-Beng 郑伟明 (Zheng Weiming)<br>
        Personal research webpage: <font color="#3366ff"><u><a class="gmail-m_1375340742345185297moz-txt-link-freetext" href="http://tayweebeng.wixsite.com/website" target="_blank">http://tayweebeng.wixsite.com/website</a></u></font><br>
        Youtube research showcase: <u><font color="#3366ff"><a class="gmail-m_1375340742345185297moz-txt-link-freetext" href="https://goo.gl/PtvdwQ" target="_blank">https://goo.gl/PtvdwQ</a></font></u><br>
        linkedin: <u><font color="#3366ff"><a class="gmail-m_1375340742345185297moz-txt-link-freetext" href="https://www.linkedin.com/in/tay-weebeng" target="_blank">https://www.linkedin.com/in/tay-weebeng</a></font></u><br>
        ================================================<br>
      </p>
    </div>
  </div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>