Gregory Nutt
|
0863e771a9
Revert "sched/clock/clock_initialize.c: clock_inittime() needs to be done with CONFIG_SCHED_TICKLESS and clock_initialize should skip clock_inittime() for external RTC case since the RTC isn't ready yet."
|
5 年之前 |
Gregory Nutt
|
f914ec6e2b
tools/nxstyle.c: Fix logic that detects if an operator is correctly delimited with spaces. sched/: Various changes because sched/ C files were used as Guinea Pigs to test nstyle.c.
|
5 年之前 |
Xiang Xiao
|
f337cc1380
sched/clock/ timekeeping: Use clock_basetime() to initialize g_clock_wall_time to get the best initial RTC value and initialize g_clock_last_counter too since the hardware may not start counting from zero.
|
6 年之前 |
Xiang Xiao
|
2bc709d4b9
sched/clock/clock_initialize.c: clock_inittime() needs to be done with CONFIG_SCHED_TICKLESS and clock_initialize should skip clock_inittime() for external RTC case since the RTC isn't ready yet.
|
6 年之前 |
Xiang Xiao
|
46bd8798c5
ched/clock/: Remove g_monotonic_basetime and g_clock_monotonic_time since we don't need ensure monotonic time start from zero as state here: http://pubs.opengroup.org/onlinepubs/009696899/functions/clock_getres.html
|
6 年之前 |
Gregory Nutt
|
8fdbb1e0a4
Elimate use of the non-standard type systime_t and replace it the equivalent, standard type clock_t
|
6 年之前 |
Gregory Nutt
|
b54ffe858a
Standardization of some function headers.
|
6 年之前 |
Gregory Nutt
|
e6e7dae05b
sched/clock: Fix a recently introduced name collision
|
6 年之前 |
Gregory Nutt
|
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
|
6 年之前 |
Juha Niskanen
|
cc7af2b0d0
procfs: Fix uptime being close to maximum 32-bit value in certain config
|
7 年之前 |
Arjun Hary
|
b274a97840
Miscellaneous fixes from astyle tool.
|
7 年之前 |
Jussi Kivilinna
|
e835803166
yslog: use monotonic clock for timestamp when available
|
7 年之前 |
Jussi Kivilinna
|
33ddaa0b10
clock: add testing for 32-bit overflow of 64-bit system timer
|
7 年之前 |
Jussi Kivilinna
|
325ba1a803
clock: add clock_resynchronize and use subseconds RTC
|
7 年之前 |
Gregory Nutt
|
123c520db4
Correct time initialization for the case where time is initialized from settings in the .config file. The correct range for month (tm_mon) internally is 0-11, not 1-12 as it is in the .config file.
|
8 年之前 |
Gregory Nutt
|
246773faa7
Rename CONFIG_SCHED_TIMEKEEPING to CONFIG_CLOCK_TIMEKEEPING. That is a better compartmentalized name.
|
8 年之前 |
Max Neklyudov
|
8db29071da
timekeeping: initial implementation
|
8 年之前 |
Gregory Nutt
|
720343612b
Remove some empty file section section header comments
|
8 年之前 |
Gregory Nutt
|
6e3107650d
nuttx/sched: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
|
8 年之前 |
Gregory Nutt
|
a2e1ece873
RTC: Handle RTC failures. If mktime is called with garbage, it may crash
|
8 年之前 |
Gregory Nutt
|
4b29bcee7f
Rename up_rtcinitialize to up_rtc_initialize so that it looks like other RTC interfaces
|
9 年之前 |
Gregory Nutt
|
892ba4f26a
DS1307: Change year bias to 1968 which is a leap year juse like 2000
|
9 年之前 |
Gregory Nutt
|
c34b5108a7
RTC: Fix system time initialization when using an exernal RTC. Fix some bugs in the DS1307/DS3231 RTC driver
|
9 年之前 |
Gregory Nutt
|
5b51a9fcdd
Standardize the width of all comment boxes in C files
|
9 年之前 |
Gregory Nutt
|
cb9e27c3b0
Standardize naming used for public data and function groupings
|
9 年之前 |
Gregory Nutt
|
b4423c1eed
Make some file section headers more consistent with standard
|
9 年之前 |
Gregory Nutt
|
3724a5e98e
RTC: Remove all backdoor interfaces from rtc.h
|
9 年之前 |
Gregory Nutt
|
c19659d7d2
Fixes to clock bias logic. Remove vestiges of g_tickbias; apply bias instead to g_basetime
|
10 年之前 |
Gregory Nutt
|
d4b56eb3cc
Move clock functions from sched/ to sched/clock
|
10 年之前 |