Changeset de7adaf in rtems


Ignore:
Timestamp:
Aug 12, 2009, 8:50:26 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
9992cac
Parents:
6d1e9b8b
Message:

2009-08-12 Joel Sherrill <joel.sherrill@…>

  • malloctest/task1.c, stackchk/task1.c: Eliminate test routines TICKS_PER_SECOND and get_ticks_per_second() in favor of new rtems_clock_get_ticks_per_second().
Location:
testsuites/libtests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    r6d1e9b8b rde7adaf  
     12009-08-12      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * malloctest/task1.c, stackchk/task1.c: Eliminate test routines
     4        TICKS_PER_SECOND and get_ticks_per_second() in favor of new
     5        rtems_clock_get_ticks_per_second().
     6
    172009-08-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • testsuites/libtests/malloctest/task1.c

    r6d1e9b8b rde7adaf  
    44 *  15 seconds and then call a routine to "blow the stack".
    55 *
    6  *  COPYRIGHT (c) 1989-1999.
     6 *  COPYRIGHT (c) 1989-2009.
    77 *  On-Line Applications Research Corporation (OAR).
    88 *
     
    5858    malloc_report_statistics();
    5959    malloc_walk(1,FALSE);
    60     status = rtems_task_wake_after( task_number( tid ) * 1 * TICKS_PER_SECOND/4 );
     60    status = rtems_task_wake_after(
     61      task_number( tid ) * 1 * rtems_clock_get_ticks_per_second()/4 );
    6162    for (i=0; i < mem_amt; i++)
    6263    {
  • testsuites/libtests/stackchk/task1.c

    r6d1e9b8b rde7adaf  
    44 *  15 seconds and then call a routine to "blow the stack".
    55 *
    6  *  COPYRIGHT (c) 1989-1999.
     6 *  COPYRIGHT (c) 1989-2009.
    77 *  On-Line Applications Research Corporation (OAR).
    88 *
     
    3838    print_time( " - rtems_clock_get_tod - ", &time, "\n" );
    3939
    40     status = rtems_task_wake_after( task_number( tid ) * 5 * TICKS_PER_SECOND );
     40    status = rtems_task_wake_after(
     41      task_number( tid ) * 5 * rtems_clock_get_ticks_per_second() );
    4142    directive_failed( status, "rtems_task_wake_after" );
    4243  }
Note: See TracChangeset for help on using the changeset viewer.