aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2013-05-10 03:20:06 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2013-12-13 02:40:31 -0500
commit5f9982d2624f04df692f39f5dd6c9aae64bf9891 (patch)
treee558541353737e91aa91b9ac85ad50684f6aa6d1
parente3e2eb62f1724c391f84cb11cddcbd965399a216 (diff)
testmain: add preemptive MSRP analysis
-rw-r--r--native/src/testmain.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/native/src/testmain.cpp b/native/src/testmain.cpp
index 0767a07..acb930b 100644
--- a/native/src/testmain.cpp
+++ b/native/src/testmain.cpp
@@ -1005,6 +1005,20 @@ int main(int argc, char** argv)
1005 delete results; 1005 delete results;
1006 1006
1007 1007
1008 results = lp_preemptive_fifo_bounds(rsi);
1009
1010 cout << endl << endl << "Preemptive MSRP (LP)" << endl;
1011 for (i = 0; i < results->size(); i++)
1012 cout << "T" << i
1013 << " y=" << rsi.get_tasks()[i].get_priority()
1014 << " c=" << rsi.get_tasks()[i].get_cluster()
1015 << ": total=" << (*results)[i].total_length
1016 << " remote=" << results->get_remote_blocking(i)
1017 << " local=" << results->get_local_blocking(i)
1018 << endl;
1019
1020 delete results;
1021
1008 bool check_for_memory_leaks = true; 1022 bool check_for_memory_leaks = true;
1009 1023
1010 // Run the LP code in a loop to see if memory footprint increases 1024 // Run the LP code in a loop to see if memory footprint increases