What should you do?

You are an enterprise application developer. You create a Web Service that provides methods which return the values of a series of calculations. You identify performance problems in a component within the calculations. You need to find out the precise number of nanoseconds that were consumed by the call to the component.
What should you do?

You are an enterprise application developer. You create a Web Service that provides methods which return the values of a series of calculations. You identify performance problems in a component within the calculations. You need to find out the precise number of nanoseconds that were consumed by the call to the component.
What should you do?

A.
Get the values of the Environment.TickCount property before and after the call to the component.

B.
Get the values of the DateTime.Ticks property before and after the call to the component.

C.
Get the values of the Win32 GetTickCount API property before and after the call to the component.

D.
Use the Win32 QueryPerformanceCounter API function in conjunction with the QueryPerformanceFrequency API function.



Leave a Reply 0

Your email address will not be published. Required fields are marked *