<div dir="ltr"><div><div><div><div>Hi everyone,<br><br></div>I want to manually count the number of flops that take place within my user-defined functions. Say I have to calculate the following:<br><br></div>y = sqrt(pow(x[0],2)+pow(x[1],2)+pow(x[2],2));<br><br></div>What should the flop counter be for each call?<br><br></div>Thanks,<br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div>Justin Chang<br></div>PhD Candidate, Civil Engineering - Computational Sciences<br></div>University of Houston, Department of Civil and Environmental Engineering<br></div>Houston, TX 77004<br>(512) 963-3262<br></div></div></div>