From where is the response time measured?

Hello,

Where is average response time measured from?

For example, is it the time to serve the content between server and [a particular city]?

Many thanks,
Mike