[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] avr-gcc 4.8
From: |
Michael Rice |
Subject: |
[avr-libc-dev] avr-gcc 4.8 |
Date: |
Wed, 10 Apr 2013 17:37:09 -0400 |
Built a 4.8 toolchain today for Ubuntu 12.04 and tried again to
reproduce the __MEMX issue.
Had no problem compiling trunk. I have the impression I am wasting my
time chasing the issue.
I modified a test app today to compare multiple 'observer' locations
( time zone, DST rule, latitude and longitude ). The test app
exercises almost all the functions, directly or indirectly, measuring
cpu cycles along the way. The output pasted below was taken from an
avr51 architecture device.
=================================
Punta Gorda, Florida : 27 North 82 West
Timezone -5 hours (US Eastern)
DST FUNCTION usa_dst()
time() 93 cycles
Y2K + 418944945 seconds
localtime() 8399 cycles
Date 2013-04-10
Time 17:35:45
Day of year 99
ctime() 14224 cycles
Wed Apr 10 17:35:45 2013
isotime() 6417 cycles
2013-04-10 17:35:45
strftime( %c ) 6750 cycles
Wed Apr 10 17:35:45 2013
week_of_month() 251 cycles
1
week_of_year() 251 cycles
14
moon_phase() 1221 cycles
+3%
lm_sidereal() 2477 cycles
5:24:49
solar_declination() 6322 cycles
8.46 degrees
equation_of_time() 6327 cycles
-1.55 minutes
solar_noon() 7677 cycles
13:29
daylight_seconds() 13462 cycles
12.70 hours
sunrise() 21792 cycles
7:08
sunset() 21792 cycles
19:50
Anchorage, Alaska : 61.2 N 149.9 W : UTC -9 Hours : usa_dst
Wed Apr 10 13:35:45 2013
Sun Rise at 6:54
Sun Set at 21:07
Berlin, Germany : 52.33 N 13.3 E : UTC +1 Hour : eu_dst
Wed Apr 10 23:35:45 2013
Sun Rise at 6:20
Sun Set at 19:56
Ushuaia, Argentina : 54.8 S 68.3 W : UTC -3 Hours : null dst
Wed Apr 10 18:35:45 2013
Sun Rise at 8:20
Sun Set at 18:48
End of Time : Tue Feb 7 01:28:15 2136