File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ void buffer::insert(packet* pack){
25
25
count++;
26
26
}
27
27
else { // inserimento in coda
28
- if (count < Kqueue) { // controllo se il buffer non è pieno
28
+ if (count <= Kqueue) { // controllo se il buffer non è pieno
29
29
last->next = pack;
30
30
last = pack;
31
31
last->next = head;
Original file line number Diff line number Diff line change @@ -140,6 +140,8 @@ void queue::results()
140
140
fprintf (fpout, " *********************************************\n\n " );
141
141
fprintf (fpout, " Input parameters:\n " );
142
142
fprintf (fpout, " Buffer Queue limit: %d\n " , buf->Kqueue );
143
+ if (batch)
144
+ fprintf (fpout, " Mean batch size: %d\n " , meanC);
143
145
fprintf (fpout, " Transient length (s) %5.3f\n " , Trslen);
144
146
fprintf (fpout, " Run length (s) %5.3f\n " , Runlen);
145
147
fprintf (fpout, " Number of runs %5d\n " , NRUNmin);
You can’t perform that action at this time.
0 commit comments