Changeset bc11ec2 in rtems


Ignore:
Timestamp:
Sep 14, 2006, 3:07:19 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
c69885a5
Parents:
e694c94b
Message:

2006-09-14 Joel Sherrill <joel@…>

  • libmisc/cpuuse/cpuuse.c, libmisc/cpuuse/cpuuse.h: Promote CPU Usage to first class citizen. Rename to start with rtems_ and include documentation in user guide.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    re694c94b rbc11ec2  
     12006-09-14      Joel Sherrill <joel@OARcorp.com>
     2
     3        * libmisc/cpuuse/cpuuse.c, libmisc/cpuuse/cpuuse.h: Promote CPU Usage
     4        to first class citizen. Rename to start with rtems_ and include
     5        documentation in user guide.
     6
    172006-09-13      Joel Sherrill <joel@OARcorp.com>
    28
  • cpukit/libmisc/cpuuse/cpuuse.c

    re694c94b rbc11ec2  
    22 *  CPU Usage Reporter
    33 *
    4  *  COPYRIGHT (c) 1989-1999. 1996.
     4 *  COPYRIGHT (c) 1989-2006
    55 *  On-Line Applications Research Corporation (OAR).
    66 *
     
    99 *  http://www.rtems.com/license/LICENSE.
    1010 *
    11  *  cpuuse.c,v 1.20 2004/04/17 08:12:01 ralf Exp
    12  *
     11 *  $Id$
    1312 */
    1413
     
    3231/*PAGE
    3332 *
    34  *  CPU_usage_Dump
     33 *  rtems_cpu_usage_report
    3534 */
    3635
    37 void CPU_usage_Dump( void )
     36void rtems_cpu_usage_report( void )
    3837{
    3938  uint32_t             i;
     
    124123}
    125124
    126 /*PAGE
    127  *
    128  *  CPU_usage_Reset
    129  */
    130 
    131125static void CPU_usage_Per_thread_handler(
    132126  Thread_Control *the_thread
     
    136130}
    137131
    138 void CPU_usage_Reset( void )
     132/*
     133 *  rtems_cpu_usage_reset
     134 */
     135void rtems_cpu_usage_reset( void )
    139136{
    140137  CPU_usage_Ticks_at_last_reset = _Watchdog_Ticks_since_boot;
  • cpukit/libmisc/cpuuse/cpuuse.h

    re694c94b rbc11ec2  
    44 *  and install the cpu usage reporting mechanism.
    55 *
    6  *  COPYRIGHT (c) 1989-1999. 1996.
     6 *  COPYRIGHT (c) 1989-2006.
    77 *  On-Line Applications Research Corporation (OAR).
    88 *
     
    1414 */
    1515
    16 #ifndef __CPU_USE_h
    17 #define __CPU_USE_h
     16#ifndef __RTEMS_CPUUSE_h
     17#define __RTEMS_CPUUSE_h
    1818
    1919#ifdef __cplusplus
     
    2222
    2323/*
    24  *  CPU_usage_Dump
     24 *  rtems_cpu_usage_report
    2525 */
    2626
    27 void CPU_usage_Dump( void );
     27void rtems_cpu_usage_report( void );
    2828
    2929/*
    30  *  CPU_usage_Reset
     30 *  rtems_cpu_usage_reset
    3131 */
    3232
    33 void CPU_usage_Reset( void );
     33void rtems_cpu_usage_reset( void );
    3434
    3535#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.