]> rtime.felk.cvut.cz Git - frescor/fna.git/commitdiff
add debugging message
authorsangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Wed, 26 Nov 2008 16:50:12 +0000 (16:50 +0000)
committersangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Wed, 26 Nov 2008 16:50:12 +0000 (16:50 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/fna/trunk@1439 35b4ef3e-fd22-0410-ab77-dab3279adceb

src_frescan/frescan_bwres_analysis.c

index f8105b30c00bc0f53b15d161bcdddfdcb4db4a6e..b2a6196752ca42dc0331be91091093736f816e84 100644 (file)
@@ -147,6 +147,18 @@ int frescan_bwres_sa_add_contract(frescan_bwres_sa_scenario_t *scenario,
               "add contract, node:%d ss:%d globalid:%d\n",
               node, ss, sa_vres->fsa_vres_global_id);
 
+        DEBUG(FRESCAN_BWRES_SA_ENABLE_DEBUG,
+              "contract bmin=(%u,%u) tmax=(%u,%u) bmax=(%u,%u) tmin=(%u,%u) prio=%u\n",
+              contract->budget_min.tv_sec,
+              contract->budget_min.tv_nsec,
+              contract->period_max.tv_sec,
+              contract->period_max.tv_nsec,
+              contract->budget_max.tv_sec,
+              contract->budget_max.tv_nsec,
+              contract->period_min.tv_sec,
+              contract->period_min.tv_nsec,
+              contract->preemption_level);
+
         ret = frsh_sa_scenario_add_vres(&scenario->fsa_scenario,
                                         &sa_vres->contract,
                                         sa_vres->fsa_vres_global_id);