Changeset aacc7a0 in rtems


Ignore:
Timestamp:
Nov 8, 2018, 6:59:04 AM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
1e039fb3
Parents:
d53862a
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 06:59:04)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/09/18 06:25:09)
Message:

rtems: Deprecate rtems_thread_cpu_usage_t

The rtems_thread_cpu_usage_t typedef as no corresponding API. It
violates the POSIX namespace. A user can do nothing with it.

Close #3593.

Location:
cpukit/include/rtems/rtems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/rtems/ratemon.h

    rd53862a raacc7a0  
    121121
    122122  /** This field contains the least amount of CPU time used in a period. */
    123   rtems_thread_cpu_usage_t            min_cpu_time;
     123  struct timespec min_cpu_time;
    124124  /** This field contains the highest amount of CPU time used in a period. */
    125   rtems_thread_cpu_usage_t            max_cpu_time;
     125  struct timespec max_cpu_time;
    126126  /** This field contains the total amount of wall time used in a period. */
    127   rtems_thread_cpu_usage_t            total_cpu_time;
     127  struct timespec total_cpu_time;
    128128
    129129  /** This field contains the least amount of wall time used in a period. */
     
    182182   *  then this field has no meaning.
    183183   */
    184   rtems_thread_cpu_usage_t             executed_since_last_period;
     184  struct timespec                      executed_since_last_period;
    185185
    186186  /** This is the count of postponed jobs of this period. */
  • cpukit/include/rtems/rtems/types.h

    rd53862a raacc7a0  
    130130 * variety of representations.
    131131 */
    132 typedef struct timespec rtems_thread_cpu_usage_t;
     132typedef struct timespec rtems_thread_cpu_usage_t RTEMS_DEPRECATED;
    133133
    134134/**
Note: See TracChangeset for help on using the changeset viewer.