TimeSample_t Struct Reference
[Time Synchronization]

Data from a single time sync sample. More...

#include <timesync.h>


Data Fields

double delta
 The computed time delta based on the returned server time and the latency of this sample.
double latency
 The approximate time required for data to reach the server.


Detailed Description

Data from a single time sync sample.

Several are collected to produce the final results. The units are milliseconds.

Definition at line 97 of file timesync.h.


Field Documentation

double TimeSample_t::delta

The computed time delta based on the returned server time and the latency of this sample.

Definition at line 108 of file timesync.h.

Referenced by ClientSync(), ComputeAverages(), ComputeStdDeviation(), GetSamples(), and RemoveBadSamples().

double TimeSample_t::latency

The approximate time required for data to reach the server.

The computation of this value assumes that the round-trip time is double the time from client to server.

Definition at line 103 of file timesync.h.

Referenced by ClientSync(), ComputeAverages(), GetSamples(), and RenderLatency().


The documentation for this struct was generated from the following file:
Generated on Mon May 28 04:41:44 2007 for Retro Tank Super Attack by  doxygen 1.5.2