Loading Scenarions/scalability-1/a.out +136 B (105 KiB) File changed.No diff preview for this file type. View original file View changed file Scenarions/scalability-1/scalability.cpp +4 −3 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ class Link: { public: // Fix the data rate in bytes/sec and probability of each frame to get dropped Link(int bytes_per_sec, double loss_rate): Link(long int bytes_per_sec, double loss_rate): Atomic<IO_Type>(), bytes_per_sec(bytes_per_sec), loss_rate(loss_rate), Loading Loading @@ -125,7 +125,7 @@ class Link: else return ttg; } private: const int bytes_per_sec; const long int bytes_per_sec; const double loss_rate; double ttg; std::list<IO_Type> q; Loading Loading @@ -225,7 +225,7 @@ int main(int argc, char **argv) // Here we get the arguments istringstream ss1(argv[1]); int dataRate; long int dataRate; if (ss1 >> dataRate){ } cout << " DATARATE "<<dataRate; Loading @@ -233,6 +233,7 @@ int main(int argc, char **argv) istringstream ss2(argv[2]); if (ss2 >> lossRate){ } cout << " LOSSRATE "<<lossRate<<endl; std::string path = argv[3]; // Paths to images std::string historian = path+"/historian.img"; Loading Scenarions/scalability-2/a.out +32 B (105 KiB) File changed.No diff preview for this file type. View original file View changed file Scenarions/scalability-2/scalability.cpp +7 −7 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ class Link: { public: // Fix the data rate in bytes/sec and probability of each frame to get dropped Link(int bytes_per_sec, double loss_rate): Link(long int bytes_per_sec, double loss_rate): Atomic<IO_Type>(), bytes_per_sec(bytes_per_sec), loss_rate(loss_rate), Loading Loading @@ -125,7 +125,7 @@ class Link: else return ttg; } private: const int bytes_per_sec; const long int bytes_per_sec; const double loss_rate; double ttg; std::list<IO_Type> q; Loading Loading @@ -225,7 +225,7 @@ int main(int argc, char **argv) // // Here we get the arguments istringstream ss1(argv[1]); int dataRate1; long int dataRate1; if (ss1 >> dataRate1){ } cout << " DATARATE "<<dataRate1; Loading @@ -233,17 +233,17 @@ int main(int argc, char **argv) istringstream ss2(argv[2]); if (ss2 >> lossRate1){ } cout << " DATARATE "<<lossRate1<<endl; cout << " LOSSRATE "<<lossRate1<<endl; istringstream ss3(argv[3]); int dataRate2; long int dataRate2; if (ss3 >> dataRate2){ } cout << " DATARATE "<<dataRate2; cout << " DATARATE2 "<<dataRate2; double lossRate2; istringstream ss4(argv[4]); if (ss4 >> lossRate2){ } cout << " DATARATE "<<lossRate2<<endl; cout << " LOSSRATE2 "<<lossRate2<<endl; std::string path = argv[5]; // Paths to images std::string historian = path+"/historian.img"; Loading Loading
Scenarions/scalability-1/a.out +136 B (105 KiB) File changed.No diff preview for this file type. View original file View changed file
Scenarions/scalability-1/scalability.cpp +4 −3 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ class Link: { public: // Fix the data rate in bytes/sec and probability of each frame to get dropped Link(int bytes_per_sec, double loss_rate): Link(long int bytes_per_sec, double loss_rate): Atomic<IO_Type>(), bytes_per_sec(bytes_per_sec), loss_rate(loss_rate), Loading Loading @@ -125,7 +125,7 @@ class Link: else return ttg; } private: const int bytes_per_sec; const long int bytes_per_sec; const double loss_rate; double ttg; std::list<IO_Type> q; Loading Loading @@ -225,7 +225,7 @@ int main(int argc, char **argv) // Here we get the arguments istringstream ss1(argv[1]); int dataRate; long int dataRate; if (ss1 >> dataRate){ } cout << " DATARATE "<<dataRate; Loading @@ -233,6 +233,7 @@ int main(int argc, char **argv) istringstream ss2(argv[2]); if (ss2 >> lossRate){ } cout << " LOSSRATE "<<lossRate<<endl; std::string path = argv[3]; // Paths to images std::string historian = path+"/historian.img"; Loading
Scenarions/scalability-2/a.out +32 B (105 KiB) File changed.No diff preview for this file type. View original file View changed file
Scenarions/scalability-2/scalability.cpp +7 −7 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ class Link: { public: // Fix the data rate in bytes/sec and probability of each frame to get dropped Link(int bytes_per_sec, double loss_rate): Link(long int bytes_per_sec, double loss_rate): Atomic<IO_Type>(), bytes_per_sec(bytes_per_sec), loss_rate(loss_rate), Loading Loading @@ -125,7 +125,7 @@ class Link: else return ttg; } private: const int bytes_per_sec; const long int bytes_per_sec; const double loss_rate; double ttg; std::list<IO_Type> q; Loading Loading @@ -225,7 +225,7 @@ int main(int argc, char **argv) // // Here we get the arguments istringstream ss1(argv[1]); int dataRate1; long int dataRate1; if (ss1 >> dataRate1){ } cout << " DATARATE "<<dataRate1; Loading @@ -233,17 +233,17 @@ int main(int argc, char **argv) istringstream ss2(argv[2]); if (ss2 >> lossRate1){ } cout << " DATARATE "<<lossRate1<<endl; cout << " LOSSRATE "<<lossRate1<<endl; istringstream ss3(argv[3]); int dataRate2; long int dataRate2; if (ss3 >> dataRate2){ } cout << " DATARATE "<<dataRate2; cout << " DATARATE2 "<<dataRate2; double lossRate2; istringstream ss4(argv[4]); if (ss4 >> lossRate2){ } cout << " DATARATE "<<lossRate2<<endl; cout << " LOSSRATE2 "<<lossRate2<<endl; std::string path = argv[5]; // Paths to images std::string historian = path+"/historian.img"; Loading