Anonymous | Login | 2022-05-28 03:51 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0000740 | OMNeT++ | examples | public | 2014-03-07 17:34 | 2014-03-07 17:34 | ||||||||
Reporter | francogpellegrini | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 4.4 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0000740: PassiveQueue statistics bug? | ||||||||||||
Description | PassiveQueue+Servers does not give correct results in queueingTime:mean. Queue does. | ||||||||||||
Additional Information | Solution: in PassiveQueue::handleMessage . . . job->setQueueCount(job->getQueueCount() + 1); } else if (length() == 0) { // send through without queueing send(job, "out", k); } else . . . Add the lines: . . . job->setQueueCount(job->getQueueCount() + 1); } else if (length() == 0) { // send through without queueing emit(queueLengthSignal, length()); job->setQueueCount(job->getQueueCount() + 1); simtime_t d = simTime() - job->getTimestamp(); emit(queueingTimeSignal, d); job->setTotalQueueingTime(job->getTotalQueueingTime() + d); send(job, "out", k); } else error( . . . and problem solved | ||||||||||||
Tags | bug, lib, solution, solved | ||||||||||||
Attached Files | |||||||||||||
![]() |
|||
Date Modified | Username | Field | Change |
2014-03-07 17:34 | francogpellegrini | New Issue | |
2014-03-07 17:35 | francogpellegrini | Tag Attached: bug | |
2014-03-07 17:35 | francogpellegrini | Tag Attached: lib | |
2014-03-07 17:35 | francogpellegrini | Tag Attached: solution | |
2014-03-07 17:35 | francogpellegrini | Tag Attached: solved |
Copyright © 2000 - 2022 MantisBT Team |