questions to spfatal07 and unlimited tests
Christian Mauderer
Christian.Mauderer at embedded-brains.de
Thu Aug 20 15:18:48 UTC 2009
Joel Sherrill wrote:
> Christian Mauderer wrote:
>> Than you for your informative answer. Now I know a little bit more :-)
>>
>> I have got a remark to another test:
>> By running the sp20-test, it seems that the periods for the tasks are to
>> short to print the full text on a 115200 bps serial link. I had to set
>> them higher to run the test successfully.
>> The original definition in the task1.c was:
>> uint32_t Periods[7] = { 0, 2, 2, 2, 2, 100, 0 };
>> I have multiplied all times by 10 to run the test and got the following
>> line:
>> uint32_t Periods[7] = { 0, 20, 20, 20, 20, 1000, 0 };
>>
>>
> Did that impact the total run-time?
>
> Or the iteration totals?
>> Kind regards,
>> Christian Mauderer
>>
>>
>
>
I think it only needs longer. But I can't say for sure, because the test
doesn't run completly with the shorter periods.
If that helps, here is the output of the test with the original periods:
*** TEST 20 ***
TA1 - rtems_rate_monotonic_create id = 0x42010001
TA1 - rtems_rate_monotonic_ident id = 0x42010001
TA1 - (0x42010001) period 2
TA2 - rtems_rate_monotonic_create id = 0x42010002
TA2 - rtems_rate_monotonic_ident id = 0x42010002
TA2 - (0x42010002) period 2
TA3 - rtems_rate_monotonic_create id = 0x42010003
TA3 - rtems_rate_monotonic_ident id = 0x42010003
TA3 - (0x42010003) period 2
TA4 - rtems_rate_monotonic_create id = 0x42010004
TA4 - rtems_rate_monotonic_ident id = 0x42010004
TA4 - (0x42010004) period 2
TA5 - rtems_rate_monotonic_create id = 0x42010005
TA5 - rtems_rate_monotonic_ident id = 0x42010005
TA5 - (0x42010005) period 100
TA6 - rtems_rate_monotonic_create id = 0x42010006
TA6 - rtems_rate_monotonic_ident id = 0x42010006
TA6 - (0x42010006) period 0
TA5 - PERIODS CHECK OK (1)
TA5 - PERIODS CHECK OK (2)
TA5 - PERIODS CHECK OK (3)
TA5 - PERIODS CHECK OK (4)
TA5 - PERIODS CHECK OK (5)
TA6 - Actual: 10 Expected: 10 - OK
TA6 - Actual: 20 Expected: 20 - OK
TA6 - Actual: 30 Expected: 30 - OK
TA6 - Actual: 40 Expected: 40 - OK
TA6 - Actual: 50 Expected: 50 - OK
TA6 - Actual: 60 Expected: 60 - OK
TA6 - Actual: 70 Expected: 70 - OK
TA6 - Actual: 80 Expected: 80 - OK
TA6 - Actual: 90 Expected: 90 - OK
TA6 - Actual: 100 Expected: 100 - OK
rtems_rate_monotonic_period FAILED -- expected (successful completion)
got (timed out waiting)
And here with the altered periods:
*** TEST 20 ***
TA1 - rtems_rate_monotonic_create id = 0x42010001
TA1 - rtems_rate_monotonic_ident id = 0x42010001
TA1 - (0x42010001) period 20
TA2 - rtems_rate_monotonic_create id = 0x42010002
TA2 - rtems_rate_monotonic_ident id = 0x42010002
TA2 - (0x42010002) period 20
TA3 - rtems_rate_monotonic_create id = 0x42010003
TA3 - rtems_rate_monotonic_ident id = 0x42010003
TA3 - (0x42010003) period 20
TA4 - rtems_rate_monotonic_create id = 0x42010004
TA4 - rtems_rate_monotonic_ident id = 0x42010004
TA4 - (0x42010004) period 20
TA5 - rtems_rate_monotonic_create id = 0x42010005
TA5 - rtems_rate_monotonic_ident id = 0x42010005
TA5 - (0x42010005) period 1000
TA6 - rtems_rate_monotonic_create id = 0x42010006
TA6 - rtems_rate_monotonic_ident id = 0x42010006
TA6 - (0x42010006) period 0
TA6 - Actual: 10 Expected: 10 - OK
TA6 - Actual: 20 Expected: 20 - OK
TA6 - Actual: 30 Expected: 30 - OK
TA6 - Actual: 40 Expected: 40 - OK
TA6 - Actual: 50 Expected: 50 - OK
TA6 - Actual: 60 Expected: 60 - OK
TA6 - Actual: 70 Expected: 70 - OK
TA6 - Actual: 80 Expected: 80 - OK
TA6 - Actual: 90 Expected: 90 - OK
TA6 - Actual: 100 Expected: 100 - OK
TA5 - PERIODS CHECK OK (1)
TA5 - PERIODS CHECK OK (2)
TA5 - PERIODS CHECK OK (3)
TA5 - PERIODS CHECK OK (4)
TA5 - PERIODS CHECK OK (5)
TA5 - PERIODS CHECK OK (6)
TA5 - PERIODS CHECK OK (7)
TA5 - PERIODS CHECK OK (8)
TA5 - PERIODS CHECK OK (9)
TA5 - PERIODS CHECK OK (10)
*** END OF TEST 20 ***
--
Christian Mauderer, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-1
Fax : +49 89 18 90 80 79-9
E-Mail : christian.mauderer at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list