|
|
| 272 |
{ |
272 |
{ |
| 273 |
NS_LOG_FUNCTION (this); |
273 |
NS_LOG_FUNCTION (this); |
| 274 |
|
274 |
|
| 275 |
// Get the unique IMSI / LCID list |
275 |
// Get the unique IMSI/LCID pairs list |
| 276 |
|
|
|
| 277 |
std::vector < ImsiLcidPair_t > pairVector; |
276 |
std::vector < ImsiLcidPair_t > pairVector; |
| 278 |
for (Uint32Map::iterator it = m_ulTxPackets.begin (); it != m_ulTxPackets.end (); ++it) |
277 |
for (Uint32Map::iterator it = m_ulTxPackets.begin (); it != m_ulTxPackets.end (); ++it) |
| 279 |
{ |
278 |
{ |
|
|
| 283 |
} |
282 |
} |
| 284 |
} |
283 |
} |
| 285 |
|
284 |
|
|
|
285 |
for (Uint32Map::iterator it = m_ulRxPackets.begin (); it != m_ulRxPackets.end (); ++it) |
| 286 |
{ |
| 287 |
if (find (pairVector.begin (), pairVector.end (), (*it).first) == pairVector.end ()) |
| 288 |
{ |
| 289 |
pairVector.push_back ((*it).first); |
| 290 |
} |
| 291 |
} |
| 292 |
|
| 286 |
Time endTime = m_startTime + m_epochDuration; |
293 |
Time endTime = m_startTime + m_epochDuration; |
| 287 |
for (std::vector<ImsiLcidPair_t>::iterator it = pairVector.begin (); it != pairVector.end (); ++it) |
294 |
for (std::vector<ImsiLcidPair_t>::iterator it = pairVector.begin (); it != pairVector.end (); ++it) |
| 288 |
{ |
295 |
{ |
|
|
| 318 |
{ |
325 |
{ |
| 319 |
NS_LOG_FUNCTION (this); |
326 |
NS_LOG_FUNCTION (this); |
| 320 |
|
327 |
|
| 321 |
// Get the unique IMSI list |
328 |
// Get the unique IMSI/LCID pairs list |
| 322 |
std::vector < ImsiLcidPair_t > pairVector; |
329 |
std::vector < ImsiLcidPair_t > pairVector; |
| 323 |
for (Uint32Map::iterator it = m_dlTxPackets.begin (); it != m_dlTxPackets.end (); ++it) |
330 |
for (Uint32Map::iterator it = m_dlTxPackets.begin (); it != m_dlTxPackets.end (); ++it) |
| 324 |
{ |
331 |
{ |
|
|
| 328 |
} |
335 |
} |
| 329 |
} |
336 |
} |
| 330 |
|
337 |
|
|
|
338 |
for (Uint32Map::iterator it = m_dlRxPackets.begin (); it != m_dlRxPackets.end (); ++it) |
| 339 |
{ |
| 340 |
if (find (pairVector.begin (), pairVector.end (), (*it).first) == pairVector.end ()) |
| 341 |
{ |
| 342 |
pairVector.push_back ((*it).first); |
| 343 |
} |
| 344 |
} |
| 345 |
|
| 331 |
Time endTime = m_startTime + m_epochDuration; |
346 |
Time endTime = m_startTime + m_epochDuration; |
| 332 |
for (std::vector<ImsiLcidPair_t>::iterator pair = pairVector.begin (); pair != pairVector.end (); ++pair) |
347 |
for (std::vector<ImsiLcidPair_t>::iterator pair = pairVector.begin (); pair != pairVector.end (); ++pair) |
| 333 |
{ |
348 |
{ |