Computation of the viscosity of a liquid from time averages of stress fluctuations.