| Anonymous | Login | Signup for a new account | 2010-07-31 05:06 CEST |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000022 | [OMNeT++] simulation kernel | tweak | always | 2008-12-05 16:11 | 2009-07-25 18:38 | ||||
| Reporter | baumgart | View Status | public | ||||||
| Assigned To | andras | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | resolved | Product Version | 4.0b8 | ||||||
| Summary | 0000022: Perfomance issue: cMessage::getArrivalTime() returns simtime_t by value | ||||||||
| Description |
cMessage::getArrivalTime() returns simtime_t by value. This is a performance problem especially for the FES (shiftup and insert). After changing the method to return const simtime_t& we had performance improvements of about 10-20 percent (compiled with -O3). Probably this should be changed for all simtime_t setters and getters in cmessage.h. |
||||||||
| Additional Information | |||||||||
| Tags | No tags attached. | ||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Mantis 1.1.5[^] Copyright © 2000 - 2008 Mantis Group |