Revision 3730fda0

View differences:

streamer.c
50 50
bool chunk_log = false;
51 51

  
52 52
extern int NEIGHBORHOOD_TARGET_SIZE;
53
extern uint64_t CB_SIZE_TIME;
53 54

  
54 55
extern struct timeval print_tdiff;
55 56
extern struct timeval tstartdiff;
......
116 117
        {"chunk_log", no_argument, 0, 0},
117 118
        {"measure_start", required_argument, 0, 0},
118 119
        {"measure_every", required_argument, 0, 0},
120
        {"playout_limit", required_argument, 0, 0},
119 121
	{0, 0, 0, 0}
120 122
  };
121 123

  
......
125 127
        if( strcmp( "chunk_log", long_options[option_index].name ) == 0 ) { chunk_log = true; }
126 128
        if( strcmp( "measure_start", long_options[option_index].name ) == 0 ) { tstartdiff.tv_sec = atoi(optarg); }
127 129
        if( strcmp( "measure_every", long_options[option_index].name ) == 0 ) { print_tdiff.tv_sec = atoi(optarg); }
130
        if( strcmp( "playout_limit", long_options[option_index].name ) == 0 ) { CB_SIZE_TIME = atoi(optarg); }
128 131
        break;
129 132
      case 'b':
130 133
        buff_size = atoi(optarg);
streaming.c
37 37

  
38 38
#include "scheduler_la.h"
39 39

  
40
#define CB_SIZE_TIME 4*1e6
40
uint64_t CB_SIZE_TIME = 4*1e6;
41 41

  
42 42
static bool heuristics_distance_maxdeliver = false;
43 43
static int bcast_after_receive_every = 0;

Also available in: Unified diff