20 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
21 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 |
* |
* |
23 |
* $Id: plugin_single.c,v 1.4 2010-03-09 10:00:14 Isibaar Exp $ |
* $Id: plugin_single.c,v 1.4.2.1 2010-12-28 19:19:57 Isibaar Exp $ |
24 |
* |
* |
25 |
****************************************************************************/ |
****************************************************************************/ |
26 |
|
|
187 |
rc->total_size += data->length; |
rc->total_size += data->length; |
188 |
|
|
189 |
/* Compute the deviation from expected total size */ |
/* Compute the deviation from expected total size */ |
190 |
deviation = |
deviation = (int64_t) |
191 |
rc->total_size - rc->bytes_per_sec * rc->time; |
(rc->total_size - rc->bytes_per_sec * rc->time); |
192 |
|
|
193 |
averaging_period = (double) rc->averaging_period; |
averaging_period = (double) rc->averaging_period; |
194 |
|
|