]> rtime.felk.cvut.cz Git - frescor/fwp.git/blobdiff - fwp/lib/core/tests/fwp_vrestest/fwp_vrestest2.c
Added support for contract negotiation
[frescor/fwp.git] / fwp / lib / core / tests / fwp_vrestest / fwp_vrestest2.c
index 9f28db95b3d5bd703cd77a6b24c82b9623cc8505..687bbd31c6ff412bdea2e4e1788cbf267a005fe9 100644 (file)
@@ -36,7 +36,8 @@ void* sender()
        
        vparam1.ac_id = FWP_AC_VO; 
        vparam1.budget = 3;
-       vparam1.period_usec = 2000000; 
+       vparam1.period.tv_sec = 2; 
+       vparam1.period.tv_nsec = 0; 
        
        printf("Create vres1\n");
        if (fwp_vres_create(&vparam1, &vres_d1) < 0) {