Revision 461946de measures-monl.c

View differences:

measures-monl.c
87 87
		monNewSample(playout_delay, ((int64_t)(tnow.tv_usec + tnow.tv_sec * 1000000ULL) - (int64_t)timestamp) / 1000000.0);
88 88
	}
89 89

  
90
	if (!chunk_loss_burst_size) {
91
		enum stat_types st[] = {WIN_AVG, WIN_VAR};
92
		add_measure(&chunk_loss_burst_size, GENERIC, 0, PEER_PUBLISH_INTERVAL, "ChunkLossBurstSize", st, sizeof(st)/sizeof(enum stat_types), NULL, MSG_TYPE_ANY);	//[peers]
93
	}
90
	//if (!chunk_loss_burst_size) {
91
	//	enum stat_types st[] = {WIN_AVG, WIN_VAR};
92
	//	add_measure(&chunk_loss_burst_size, GENERIC, 0, PEER_PUBLISH_INTERVAL, "ChunkLossBurstSize", st, sizeof(st)/sizeof(enum stat_types), NULL, MSG_TYPE_ANY);	//[peers]
93
	//}
94 94
	if (b) {
95 95
		if (last_arrived_chunk >= 0) {
96 96
			int burst_size = id - 1 - last_arrived_chunk;

Also available in: Unified diff