- Fix: avoid infinite loop on mulitcast read thread if no data to read

Pre-ci test passed

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4000 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Cedric Roux
2013-06-25 09:05:02 +00:00
commit 56c66c09aa
4111 changed files with 2133103 additions and 0 deletions
Binary file not shown.
+24
View File
@@ -0,0 +1,24 @@
----------------------------------------------------------------------------------
OpenAir Mobility Generator (OMG) - Mobility provided by trace files
----------------------------------------------------------------------------------
The trace-driven OMG behaves as follows :
When we have all the mobility description (the .tr file) in memory sorted in an ascending order of time for all nodes (hash table), we load one location and we determine the travel time and we move the nodes (update_nodes and get_current_positions act here), once the node is near to the destination (journeytime - eps) next position and time is obtained. If the next time is very far from current time then we put the node to sleep till the next start time.
Notes:
- The OMG/TRACE folder is the default folder for OAI and OMG to load mobility
files. Please place all your files on that folder.
- OMG TRACE support mobility input given in the following format:
TIME(s) NODE_ID NODE_POS_X NODE_POS_Y NODE_SPEED(m/s)
Note: OMG uses the speed (NODE_SPEED) at this time (TIME) from this position (NODE_POS_X,NODE_POS_Y) for this NODE_ID
- each input may be ordered (in time) or not
- The mobility described in the mobility file strictly follows the simulation time, only condition where it doesn't follow is, when a node fails to reach its next point (in time) from where it has to start next journey.
----------------------------------------------------------------------------------
The OpenAirInterface Team
openair_tech@eurecom.fr
----------------------------------------------------------------------------------
File diff suppressed because it is too large Load Diff
+7
View File
@@ -0,0 +1,7 @@
0 0 867 1440 20
12 0 965 1560 20
24 0 867 1440 20
36 0 965 1560 20
48 0 867 1440 20
60 0 965 1560 20
@@ -0,0 +1,3 @@
0 0 670 1200 0
0 1 1162 1800 0
0 2 1162 600 0
+4
View File
@@ -0,0 +1,4 @@
0 0 2050 1500 20
0 1 2150 1500 20
50 0 2050 500 20
50 1 2150 500 20
+7
View File
@@ -0,0 +1,7 @@
1 0 10 10 0
1 1 40 10 0
1 2 20 50 0
2 0 60 60 10
2 1 30 60 10
3 0 50 70 10
3 1 60 100 10
+10
View File
@@ -0,0 +1,10 @@
0 140392 463.08 631.6 0.0
1 140392 461.714 631.343 0.39
2 140392 458.431 630.727 3.34
3 140392 453.763 629.85 4.75
4 140392 447.04 628.588 6.84
0 140396 465.08 633.6 0.0
1 140396 463.714 633.343 0.39
2 140396 460.431 632.727 3.34
3 140396 455.763 631.85 4.75
4 140396 449.04 630.588 6.84
+2
View File
@@ -0,0 +1,2 @@
1 0 2106 1813 0
+2
View File
@@ -0,0 +1,2 @@
1 0 2050 1500 0
1 1 2150 1500 0
+8
View File
@@ -0,0 +1,8 @@
1 0 10 10 0
3 0 40 10 0
5 0 50 10 0
1 1 50 60 0
3 1 55 65 0
6 0 70 10 0
5 1 60 70 0
6 1 65 75 0