Re: [PATCH] Round the calculated scale factor in set_cyc2ns_scale()

2012-12-19 Thread John Stultz
On 12/05/2012 06:16 AM, Bernd Faust wrote: During some experiments with an external clock (in a FPGA), we saw that the TSC clock drifted approx. 2.5ms per second. This drift was caused by the current way of calculating the scale. In our case cpu_khz had a value of 3292725. This resulted in a

Re: [PATCH] Round the calculated scale factor in set_cyc2ns_scale()

2012-12-19 Thread John Stultz
On 12/05/2012 06:16 AM, Bernd Faust wrote: During some experiments with an external clock (in a FPGA), we saw that the TSC clock drifted approx. 2.5ms per second. This drift was caused by the current way of calculating the scale. In our case cpu_khz had a value of 3292725. This resulted in a

[PATCH] Round the calculated scale factor in set_cyc2ns_scale()

2012-12-05 Thread Bernd Faust
During some experiments with an external clock (in a FPGA), we saw that the TSC clock drifted approx. 2.5ms per second. This drift was caused by the current way of calculating the scale. In our case cpu_khz had a value of 3292725. This resulted in a scale value of 310. But when doing the

[PATCH] Round the calculated scale factor in set_cyc2ns_scale()

2012-12-05 Thread Bernd Faust
During some experiments with an external clock (in a FPGA), we saw that the TSC clock drifted approx. 2.5ms per second. This drift was caused by the current way of calculating the scale. In our case cpu_khz had a value of 3292725. This resulted in a scale value of 310. But when doing the