Measurement of wax deposition in paraffin solutions