Revision 17af7b70 monl/mon_measure.h

View differences:

monl/mon_measure.h
93 93

  
94 94
	int paramChangeDefault(MonParameterType ph, MonParameterValue p) {
95 95
		if(ph == P_WINDOW_SIZE && rb != NULL)
96
			return rb->resizeBuffer((int)p);
96
			return rb->resizeBuffer((int)ceil(p/tx_every));
97 97
		if(ph == P_INIT_NAN_ZERO && rb != NULL)
98 98
			return rb->init();
99 99
		if(ph == P_DEBUG_FILE) {

Also available in: Unified diff