|
|
| 486 |
if (st.unforcedDrop > st.forcedDrop) |
486 |
if (st.unforcedDrop > st.forcedDrop) |
| 487 |
{ |
487 |
{ |
| 488 |
std::cout << "Drops due to prob mark should be less than the drops due to hard mark" << std::endl; |
488 |
std::cout << "Drops due to prob mark should be less than the drops due to hard mark" << std::endl; |
| 489 |
exit (-1); |
489 |
exit (1); |
| 490 |
} |
490 |
} |
| 491 |
|
491 |
|
| 492 |
if (st.qLimDrop == 0) |
492 |
if (st.qLimDrop == 0) |
| 493 |
{ |
493 |
{ |
| 494 |
std::cout << "There should be some drops due to queue full" << std::endl; |
494 |
std::cout << "There should be some drops due to queue full" << std::endl; |
| 495 |
exit (-1); |
495 |
exit (1); |
| 496 |
} |
496 |
} |
| 497 |
} |
497 |
} |
| 498 |
else if (aredTest == 6 || aredTest == 7 || aredTest == 8 || aredTest == 9 || aredTest == 10 || aredTest == 14 || aredTest ==15) |
498 |
else if (aredTest == 6 || aredTest == 7 || aredTest == 8 || aredTest == 9 || aredTest == 10 || aredTest == 14 || aredTest ==15) |
|
|
| 500 |
if (st.unforcedDrop > st.forcedDrop) |
500 |
if (st.unforcedDrop > st.forcedDrop) |
| 501 |
{ |
501 |
{ |
| 502 |
std::cout << "Drops due to prob mark should be less than the drops due to hard mark" << std::endl; |
502 |
std::cout << "Drops due to prob mark should be less than the drops due to hard mark" << std::endl; |
| 503 |
exit (-1); |
503 |
exit (1); |
| 504 |
} |
504 |
} |
| 505 |
|
505 |
|
| 506 |
if (st.qLimDrop != 0) |
506 |
if (st.qLimDrop != 0) |
| 507 |
{ |
507 |
{ |
| 508 |
std::cout << "There should be zero drops due to queue full" << std::endl; |
508 |
std::cout << "There should be zero drops due to queue full" << std::endl; |
| 509 |
exit (-1); |
509 |
exit (1); |
| 510 |
} |
510 |
} |
| 511 |
} |
511 |
} |
| 512 |
else if (aredTest == 12) |
512 |
else if (aredTest == 12) |
|
|
| 514 |
if (st.unforcedDrop < st.forcedDrop) |
514 |
if (st.unforcedDrop < st.forcedDrop) |
| 515 |
{ |
515 |
{ |
| 516 |
std::cout << "Drops due to prob mark should be more than the drops due to hard mark" << std::endl; |
516 |
std::cout << "Drops due to prob mark should be more than the drops due to hard mark" << std::endl; |
| 517 |
exit (-1); |
517 |
exit (1); |
| 518 |
} |
518 |
} |
| 519 |
|
519 |
|
| 520 |
if (st.qLimDrop != 0) |
520 |
if (st.qLimDrop != 0) |
| 521 |
{ |
521 |
{ |
| 522 |
std::cout << "There should be zero drops due to queue full" << std::endl; |
522 |
std::cout << "There should be zero drops due to queue full" << std::endl; |
| 523 |
exit (-1); |
523 |
exit (1); |
| 524 |
} |
524 |
} |
| 525 |
} |
525 |
} |
| 526 |
|
526 |
|