xiaoxiang781216 merged PR #15139:
URL: https://github.com/apache/nuttx/pull/15139
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscr...@nu
anchao commented on code in PR #15139:
URL: https://github.com/apache/nuttx/pull/15139#discussion_r1881354256
##
sched/clock/clock_systime_timespec.c:
##
@@ -77,13 +77,14 @@ int clock_systime_timespec(FAR struct timespec *ts)
ts->tv_sec = 0;
ts->tv_nsec = 0;
}
anchao commented on code in PR #15139:
URL: https://github.com/apache/nuttx/pull/15139#discussion_r1881327651
##
sched/clock/clock_systime_timespec.c:
##
@@ -77,13 +77,17 @@ int clock_systime_timespec(FAR struct timespec *ts)
ts->tv_sec = 0;
ts->tv_nsec = 0;
}
anchao commented on code in PR #15139:
URL: https://github.com/apache/nuttx/pull/15139#discussion_r1881327443
##
sched/clock/clock_systime_ticks.c:
##
@@ -85,19 +85,23 @@ clock_t clock_systime_ticks(void)
clock_systime_timespec(&ts);
return clock_time2ticks(&ts);
-#elif
anchao closed pull request #15044: sched/clock: call up_timer_gettime() to get
higher resolution
URL: https://github.com/apache/nuttx/pull/15044
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the s
anchao commented on PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#issuecomment-2537661290
close this PR and continue work on https://github.com/apache/nuttx/pull/15139
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitH
anchao commented on code in PR #15139:
URL: https://github.com/apache/nuttx/pull/15139#discussion_r1881291032
##
sched/clock/clock_systime_ticks.c:
##
@@ -90,7 +90,9 @@ clock_t clock_systime_ticks(void)
up_timer_gettick(&ticks);
return ticks;
-#elif defined(CONFIG_SCHED_
anchao commented on PR #15139:
URL: https://github.com/apache/nuttx/pull/15139#issuecomment-2537656257
let us keep moving, @GUIDINGLI please fix the build break
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL a
anchao commented on PR #15139:
URL: https://github.com/apache/nuttx/pull/15139#issuecomment-2537502111
I have made similar changes before, but the problems are:
1. system tick will not start from 0, which will affect programs that need
to use CLOCK_MONOTONIC
2. The acquisition of ticks
nuttxpr commented on PR #15139:
URL: https://github.com/apache/nuttx/pull/15139#issuecomment-2535404667
[**\[Experimental Bot, please feedback
here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues)
No, this PR does not fully meet the NuttX requirements
GUIDINGLI opened a new pull request, #15139:
URL: https://github.com/apache/nuttx/pull/15139
## Summary
This is continue work of https://github.com/apache/nuttx/pull/15038
sched/clock: call up_timer_gettime() to get higher resolution
driver/timers: remove wall clock diff
anchao commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1878026217
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_current_t
Fix-Point commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877939827
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_curren
Fix-Point commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877939827
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_curren
Fix-Point commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877939827
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_curren
Fix-Point commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877939827
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_curren
Fix-Point commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877939827
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_curren
anchao commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877754287
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_current_t
Fix-Point commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877751662
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_curren
Fix-Point commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877751662
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_curren
Fix-Point commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877751662
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_curren
anchao commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877568080
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_current_t
anchao commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877662778
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_current_t
Fix-Point commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877657421
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_curren
Fix-Point commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877657421
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_curren
anchao commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877662778
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_current_t
Fix-Point commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877657421
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_curren
Fix-Point commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877657421
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_curren
xiaoxiang781216 commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877535208
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_
anchao commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877446233
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_current_t
xiaoxiang781216 commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877439906
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_
xiaoxiang781216 commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877352584
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_
anchao commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877311793
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_current_t
xiaoxiang781216 commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877302265
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_
anchao commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1877267797
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_current_t
xiaoxiang781216 commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1870670245
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_
anchao commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1870473293
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_current_t
xiaoxiang781216 commented on code in PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#discussion_r1869676365
##
drivers/timers/arch_alarm.c:
##
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
#ifndef CONFIG_SCHED_TICKLESS
static clock_t g_
nuttxpr commented on PR #15044:
URL: https://github.com/apache/nuttx/pull/15044#issuecomment-2516982023
[**\[Experimental Bot, please feedback
here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues)
No, this PR does not fully meet the NuttX requirements.
anchao opened a new pull request, #15044:
URL: https://github.com/apache/nuttx/pull/15044
## Summary
1. sched/clock: call up_timer_gettime() to get higher resolution
2. driver/timers: remove wall clock diff from lower half
Some SOC chipsets use global clock generator to unify
40 matches
Mail list logo