diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-08 08:01:13 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-09 07:25:09 +0100 |
commit | 1e039fb37a534befd58d3b44cc5d95ccc54192d0 (patch) | |
tree | 176fde22673eb7c08c79d2f5063d2e00a905f088 | |
parent | rtems: Deprecate rtems_thread_cpu_usage_t (diff) | |
download | rtems-1e039fb37a534befd58d3b44cc5d95ccc54192d0.tar.bz2 |
rtems: Deprecate rtems_rate_monotonic_period_time_t
The rtems_rate_monotonic_period_time_t typedef as no corresponding API.
It violates the POSIX namespace. A user can do nothing with it.
Close #3595.
-rw-r--r-- | cpukit/include/rtems/rtems/ratemon.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/include/rtems/rtems/ratemon.h b/cpukit/include/rtems/rtems/ratemon.h index eec5e48fea..738dc5244d 100644 --- a/cpukit/include/rtems/rtems/ratemon.h +++ b/cpukit/include/rtems/rtems/ratemon.h @@ -66,7 +66,7 @@ extern "C" { */ #include <rtems/score/timespec.h> -typedef struct timespec rtems_rate_monotonic_period_time_t; +typedef struct timespec rtems_rate_monotonic_period_time_t RTEMS_DEPRECATED; /** * This is the internal type used for the rate monotonic timing @@ -127,11 +127,11 @@ typedef struct { struct timespec total_cpu_time; /** This field contains the least amount of wall time used in a period. */ - rtems_rate_monotonic_period_time_t min_wall_time; + struct timespec min_wall_time; /** This field contains the highest amount of wall time used in a period. */ - rtems_rate_monotonic_period_time_t max_wall_time; + struct timespec max_wall_time; /** This field contains the total amount of CPU time used in a period. */ - rtems_rate_monotonic_period_time_t total_wall_time; + struct timespec total_wall_time; } rtems_rate_monotonic_period_statistics; /** @@ -174,7 +174,7 @@ typedef struct { * was last initiated. If the period is expired or has not been initiated, * then this field has no meaning. */ - rtems_rate_monotonic_period_time_t since_last_period; + struct timespec since_last_period; /** * This is the amount of CPU time that has been used since this period |