主权项 |
1. A computer-implemented method for updating timestamps in log data, the method comprising:
accessing log data to obtain timestamps corresponding to communication between a client device and a server, wherein the timestamps comprise a first client timestamp corresponding to a time that the client device sends a request to the server, a first server timestamp corresponding to a time that the server receives the request from the client device, a second server timestamp corresponding to a time that the server sends a response to the request to the client device, and a second client stamp corresponding to a time that the client device receives the response from the server; calculating, based on the timestamps, a clock skew between the client device and the server, and a network delay between the client device and the server; and updating at least one of the timestamps based on the calculated clock skew and the network delay. |