summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/clockgetuptimeseconds.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtems: Avoid <rtems/score/timecounter.h> in APISebastian Huber2018-11-121-0/+31
| | | | | | Use a real function for rtems_clock_get_uptime_seconds(). Update #3598.
* timecounter: Use in RTEMSAlexander Krutwig2015-05-201-43/+0
| | | | | | | | Replace timestamp implementation with FreeBSD bintime and timecounters. New test sptests/sptimecounter02. Update #2271.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* score: Add local context to SMP lock APISebastian Huber2014-03-111-3/+3
| | | | | | | | | | | Add a local context structure to the SMP lock API for acquire and release pairs. This context can be used to store the ISR level and profiling information. It may be later used to enable more sophisticated lock algorithms, e.g. MCS locks. There is only one lock that cannot be used with a local context. This is the per-CPU lock since here we would have to transfer the local context through a context switch which is very complicated.
* score: Use an ISR lock for TODSebastian Huber2013-08-011-7/+7
| | | | | | | | | | | | | Two issues are addressed. 1. On single processor configurations the set/get of the now/uptime timestamps is now consistently protected by ISR disable/enable sequences. Previously nested interrupts could observe partially written values since 64-bit writes are not atomic on 32-bit architectures in general. This could lead to non-monotonic uptime timestamps. 2. The TOD now/uptime maintanence is now independent of the giant lock. This is the first step to remove the giant lock in _Thread_Dispatch().
* score: Rename tod.h to todimpl.hSebastian Huber2013-08-011-1/+1
|
* score: Merge tod implementation into one fileSebastian Huber2013-07-261-0/+2
| | | | | Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
* rtems misc: Clean up Doxygen GCI Task #5Mathew Kallada2012-12-051-0/+7
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8015207
* rtems: Add rtems_clock_get_uptime_seconds()Sebastian Huber2012-11-211-0/+34