This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
--testing code hipri_test(CYG_ADDRESS id) { cyg_int32 start;
result (1) return value 1152.6microsec -- 1tick=576.3microsec (2) return value 2041.7292mirosec (3) return value 13286.6304microsec (4) return value 12669.3792microsec -- 1tick=633.46microsec
I cannot help concluding that 1 tick takes only about 600microsec. I checked related option values in untitled.ecc file.(I appended) CYGNUM_HAL_RTC_NUMERATOR # Default value: 1000000000 CYGNUM_HAL_RTC_DENOMINATOR # Default value: 100 CYGNUM_HAL_RTC_PERIOD { # CYGHWR_HAL_SH_ONCHIP_PERIPHERAL_SPEED == 29491200 # CYGNUM_HAL_RTC_DENOMINATOR == 100 # CYGHWR_HAL_SH_RTC_PRESCALE == 4 # --> 73728 };
Attachment:
untitled.ecc.gz
Description: GNU Zip compressed data
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |