nuttx/sched/sched
Gregory Nutt 2208aabbc6 Correct elapsed time calculation
Elapsed time calculation must always be be the current time minus a time in the past.  Not vice versa.

Also corrects and improves some comments.
2021-03-19 23:18:28 -07:00
..
Make.defs net: unify socket into file descriptor 2021-03-03 19:01:41 -08:00
sched_addblocked.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_addprioritized.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_addreadytorun.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_continue.c sched/sched/sched.h: Make naming of all internal names consistent: 2020-05-09 16:58:42 -03:00
sched_cpuload_oneshot.c Make more OS internal names consistent 2020-05-10 22:47:07 +08:00
sched_cpuload_period.c Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
sched_cpuload.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_cpupause.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_cpuselect.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_critmonitor.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_foreach.c Run nxstyle against all .c and .h files modified by this PR. 2020-05-09 14:19:08 -03:00
sched_get_stackinfo.c Run nxstyle against all .c and .h files modified by this PR. 2020-05-09 14:19:08 -03:00
sched_getaffinity.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_getcpu.c sched/sched/sched_getcpu.c: All new files should have Apache 2.0 headers. 2020-02-02 07:36:34 -08:00
sched_getfiles.c Run nxstyle against all .c and .h files modified by this PR. 2020-05-09 14:19:08 -03:00
sched_getparam.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_getscheduler.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_getstreams.c libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
sched_gettcb.c libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
sched_idletask.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_lock.c sched: Fix sched_lock() logic for SMP 2020-10-26 22:22:31 -07:00
sched_lockcount.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_mergepending.c sched: sched: Remove sched_tasklistlock.c for SMP 2020-11-10 23:18:08 -08:00
sched_mergeprioritized.c sched: sched: Remove sched_tasklistlock.c for SMP 2020-11-10 23:18:08 -08:00
sched_note.c Fix build break when CONFIG_TASK_NAME_SIZE == 0 2020-11-01 18:46:26 -08:00
sched_processtimer.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_releasetcb.c Revert "sched/sched/sched_releasetcb.c: Handle custom stack allocations." 2020-07-07 00:21:46 +01:00
sched_removeblocked.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_removereadytorun.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
sched_reprioritize.c Run all .c and .h files modifed by the PR though nxstyle. 2020-05-09 16:58:42 -03:00
sched_resumescheduler.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_roundrobin.c Sources and Docs: Fix typos and nxstyle issues 2020-10-02 04:54:52 +02:00
sched_rrgetinterval.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_self.c Run nxstyle against all .c and .h files modified by this PR. 2020-05-09 14:19:08 -03:00
sched_setaffinity.c sched: sched: Remove sched_lock/unlock from nxsched_set_affinity() 2021-01-20 21:52:58 -08:00
sched_setparam.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_setpriority.c sched/sched/sched.h: Make naming of all internal names consistent: 2020-05-09 16:58:42 -03:00
sched_setscheduler.c sched/sched/sched.h: Make naming of all internal names consistent: 2020-05-09 16:58:42 -03:00
sched_sporadic.c Correct elapsed time calculation 2021-03-19 23:18:28 -07:00
sched_suspend.c sched/: Make more naming consistent 2020-05-16 13:39:03 -03:00
sched_suspendscheduler.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_thistask.c arch, include, sched : Refactor ARCH_GLOBAL_IRQDISABLE related code 2020-09-03 10:20:20 +08:00
sched_timerexpiration.c sched/sched/sched_timerexpiration.c: Fix a syslog format 2020-11-22 19:01:05 -08:00
sched_unlock.c sched: Fix DEBUGASSERT() in sched_unlock() for SMP 2020-10-26 22:22:31 -07:00
sched_verifytcb.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
sched_wait.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_waitid.c sched: Remove all group id related stuff 2021-03-05 20:35:22 +08:00
sched_waitpid.c sched: Remove all group id related stuff 2021-03-05 20:35:22 +08:00
sched_yield.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched.h sched: sched: Remove sched_tasklistlock.c for SMP 2020-11-10 23:18:08 -08:00