summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/psxtransschedparam.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Introduce CPU budget operationsSebastian Huber2021-11-151-22/+22
| | | | | | | | | | | | | | This patch set replaces the CPU budget algorithm enumeration with a set of CPU budget operations which implement a particular CPU budget algorithm. This helps to hide the CPU budget algorithm implementation details from the general thread handling. The CPU budget callouts are turned into CPU budget operations. This slightly reduces the size of the thread control block. All schedulers used the default scheduler tick implementation. The tick scheduler operation is removed and the CPU budget operations are directly used in _Watchdog_Tick() if the executing thread uses a CPU budget algorithm. This is performance improvement for all threads which do not use a CPU budget algorithm (default behaviour).
* score: Add Thread_Configuration::cpu_time_budgetSebastian Huber2021-03-161-11/+12
| | | | | Move the CPU time budget to the thread configuration. This simplifies _Thread_Initialize().
* doxygen: Switch @brief and @ingroupSebastian Huber2020-04-281-1/+2
| | | | This order change fixes the Latex documentation build via Doxygen.
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* posix: Provide threads by defaultSebastian Huber2018-10-291-4/+2
| | | | Update #2514.
* posix: Provide get thread attributes by defaultSebastian Huber2018-10-241-0/+4
| | | | Update #2514.
* posix: Check for new <pthread.h> prototypesSebastian Huber2018-07-051-1/+1
| | | | | Update #3342. Update #3343.
* posix: Remove POSIX_API_Control::schedpolicySebastian Huber2017-11-091-0/+17
| | | | | | | Use the thread CPU budget algorithm to determine the scheduler policy. This fixes also pthread_getschedparam() for Classic tasks. Update #2514.
* posix: Rework sporadic server scheduling policySebastian Huber2016-06-221-8/+0
| | | | | | | | | | | | | | Instead of lowering the priority in case the initial budget is consumed raise the priority for each new period. Restore the normal priority once the initial budget is consumed. This makes it later easier to combine the high priority phase with temporary priority boosts (e.g. via priority ceiling and inheritance). Use the thread lock to protect the POSIX thread attributes instead of the thread state lock. This makes it easier to change the thread priority and keep the POSIX attributes consistent. Fixes a false positive use of uninitialized variable warning.
* score: Rename _POSIX_Absolute_timeout_to_ticks()Sebastian Huber2015-07-281-1/+0
| | | | | | Rename _POSIX_Absolute_timeout_to_ticks() to _TOD_Absolute_timeout_to_ticks() and move it to the score directory. Delete empty <rtems/posix/time.h>.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* posix: Create pthread implementation headerSebastian Huber2013-07-221-1/+1
| | | | | | Move implementation specific parts of pthread.h and pthread.inl into new header file pthreadimpl.h. The pthread.h contains now only the application visible API.
* posix: Create priority implementation headerSebastian Huber2013-07-221-1/+1
| | | | | | Move implementation specific parts of priority.h and priority.inl into new header file priorityimpl.h. Remove priority.h since there is no application visible API.
* posix: Doxygen Enhancement Task #7Mathew Kallada2012-12-161-1/+9
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/7958218
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* Reflect POSIX sched_parm changes.Ralf Corsepius2010-04-031-7/+7
|
* Whitespace removal.Ralf Corsepius2009-11-301-1/+1
|
* 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-011-0/+8
| | | | | | | * posix/src/psxtransschedparam.c, posix/src/pthread.c: Add error checks for 0 time on sporadic scheduler replenish period and initial budget. This avoids having to correct for it in the TSR, so we can eliminate the check for ticks == 0 there.
* 2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-061-23/+23
| | | | | * posix/src/psxtransschedparam.c: Restructure to avoid untestable code being generated by switch.
* 2009-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-06-241-0/+65
* posix/Makefile.am, posix/include/rtems/posix/priority.h, posix/include/rtems/posix/pthread.h, posix/inline/rtems/posix/priority.inl, posix/src/killinfo.c, posix/src/pthread.c, posix/src/pthreadcreate.c, posix/src/pthreadsetschedparam.c: Various modifications to improve binary code coverage analysis. Some of these are to mark code as debug only. Some are to break conditional expressions into multiple lines. Some are to move inline methods that are not time critical into subroutines to make them easier to test. Inlining them multiple times means that their logic paths are spread across multiple methods. This explodes the test cases required. * posix/src/psxpriorityisvalid.c, posix/src/psxtransschedparam.c: New files.