Revision ddb26495

View differences:

measures-monl.c
227 227
       add_measure(&id->mhs[j++], TX_PACKET, DATA | IN_BAND, P2P_PUBLISH_INTERVAL, "TxChunks", stwinavgrate, sizeof(stwinavgrate)/sizeof(enum stat_types), id->addr, MSG_TYPE_CHUNK);	//TxChunks_sum [chunks] TxChunks_rate [chunks/sec]
228 228
//	// Capacity
229 229
//	add_measure(&id->mhs[j++], CLOCKDRIFT, PACKET | IN_BAND, 0, NULL, NULL, 0, id->addr, MSG_TYPE_CHUNK);
230
//	monSetParameter (id->mhs[j], P_CLOCKDRIFT_ALGORITHM, 1);
230
//	monSetParameter (id->mhs[j-1], P_CLOCKDRIFT_ALGORITHM, 1);
231 231
//	add_measure(&id->mhs[j++], CORRECTED_DELAY, PACKET | IN_BAND, 0, NULL, NULL, 0, id->addr, MSG_TYPE_CHUNK);
232 232
//	add_measure(&id->mhs[j++], CAPACITY_CAPPROBE, PACKET | IN_BAND, P2P_PUBLISH_INTERVAL, "Capacity", stwinavg, sizeof(stwinavg)/sizeof(enum stat_types), id->addr, MSG_TYPE_CHUNK);	//[bytes/s]
233
//	monSetParameter (id->mhs[j], P_CAPPROBE_DELAY_TH, -1);
233
//	monSetParameter (id->mhs[j-1], P_CAPPROBE_DELAY_TH, -1);
234
//	monSetParameter (id->mhs[j-1], P_DEBUG_FILE, 3);
234 235
//	monSetParameter (mh, P_CAPPROBE_PKT_TH, 100);
235 236
//	monSetParameter (mh, P_CAPPROBE_IPD_TH, 60);
236 237
//	monPublishStatisticalType(mh, NULL, st , sizeof(st)/sizeof(enum stat_types), repoclient);

Also available in: Unified diff