I am a student in the Hebrew University and I am trying to measure the time of calling an empty function without optimization using c++. I understand that unrolling loop may help me get an accurate result but my problem is that is the compiler might convert the function to inline function and I want to prevent it from happening. I know that I can "hint" the compiler not do so by using volatile key word but that it may ignore this request.
thanks for the help.