how to measure the time required for any query

Hi all
am in a middle of a project and i need to know how to measure the time required for any query, is ther any functions ??

Hi,
The Java and .Net APIs have special functionality to report on request durations. See the sections labelled “Measuring Operation Duration” in the API documentation. You can also append the X-Machine command _duration=‘on’ to any Tamino request to get back the request time, date and duration in millseconds.
HTH

Thanx.
i used _duration=on , and it is working