A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NS3] cosmetics, removing unused functions/methods
[simgrid.git]
/
src
/
surf
/
ns3
/
ns3_simulator.cc
diff --git
a/src/surf/ns3/ns3_simulator.cc
b/src/surf/ns3/ns3_simulator.cc
index
bd52efc
..
07e3136
100644
(file)
--- a/
src/surf/ns3/ns3_simulator.cc
+++ b/
src/surf/ns3/ns3_simulator.cc
@@
-87,14
+87,6
@@
double NS3Sim::get_sent_from_socket(void *socket){
return ((MySocket *)socket)->sentBytes;
}
return ((MySocket *)socket)->sentBytes;
}
-double NS3Sim::get_last_amount_sent_from_socket(void *socket){
- return ((MySocket *)socket)->last_amount_sent;
-}
-
-void NS3Sim::reset_last_amount_sent_from_socket(void *socket){
- ((MySocket *)socket)->last_amount_sent = 0;
-}
-
void NS3Sim::simulator_stop(double min){
if(min > 0.0)
Simulator::Stop(Seconds(min));
void NS3Sim::simulator_stop(double min){
if(min > 0.0)
Simulator::Stop(Seconds(min));