Changeset 5c491aef in rtems for testsuites/tmtests


Ignore:
Timestamp:
Dec 20, 1995, 3:39:19 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c64e4ed4
Parents:
4442d21c
Message:

changes remerged after lost in disk crash -- recovered from snapshot, partially recovered working tree, etc

Location:
testsuites/tmtests
Files:
26 edited

Legend:

Unmodified
Added
Removed
  • testsuites/tmtests/tm01/task1.c

    r4442d21c r5c491aef  
    162162
    163163  put_time(
    164     "rtems_semaphore_obtain",
     164    "rtems_semaphore_obtain: available",
    165165    semaphore_obtain_time,
    166166    OPERATION_COUNT * OPERATION_COUNT,
     
    170170
    171171  put_time(
    172     "rtems_semaphore_obtain (RTEMS_NO_WAIT)",
     172    "rtems_semaphore_obtain: not available -- NO_WAIT",
    173173    semaphore_obtain_no_wait_time,
    174174    OPERATION_COUNT * OPERATION_COUNT,
     
    178178
    179179  put_time(
    180     "rtems_semaphore_release",
     180    "rtems_semaphore_release: no waiting tasks",
    181181    semaphore_release_time,
    182182    OPERATION_COUNT * OPERATION_COUNT * 2,
  • testsuites/tmtests/tm02/task1.c

    r4442d21c r5c491aef  
    147147
    148148  put_time(
    149     "rtems_semaphore_obtain (blocking)",
     149    "rtems_semaphore_obtain: not available -- caller blocks",
    150150    end_time,
    151151    OPERATION_COUNT,
  • testsuites/tmtests/tm03/task1.c

    r4442d21c r5c491aef  
    140140
    141141  put_time(
    142     "rtems_semaphore_release (preemptive)",
     142    "rtems_semaphore_release: task readied -- preempts caller",
    143143    end_time,
    144144    OPERATION_COUNT,
  • testsuites/tmtests/tm04/task1.c

    r4442d21c r5c491aef  
    9595
    9696    put_time(
    97       "rtems_task_restart (blocked, preempt)",
     97      "rtems_task_restart: blocked task -- preempts caller",
    9898      end_time,
    9999      1,
     
    114114
    115115    put_time(
    116       "rtems_task_restart (ready, preempt)",
     116      "rtems_task_restart: ready task -- preempts caller",
    117117      end_time,
    118118      1,
     
    161161
    162162  put_time(
    163     "rtems_semaphore_release (readying)",
     163    "rtems_semaphore_release: task readied -- returns to caller",
    164164    end_time,
    165165    OPERATION_COUNT,
     
    238238
    239239  put_time(
    240     "rtems_task_restart (suspended)",
     240    "rtems_task_restart: suspended task -- returns to caller",
    241241    end_time,
    242242    OPERATION_COUNT,
     
    254254
    255255  put_time(
    256     "rtems_task_delete (suspended)",
     256    "rtems_task_delete: suspended task",
    257257    end_time,
    258258    OPERATION_COUNT,
     
    282282
    283283  put_time(
    284     "rtems_task_restart (ready)",
     284    "rtems_task_restart: ready task -- returns to caller",
    285285    end_time,
    286286    OPERATION_COUNT,
     
    304304
    305305  put_time(
    306     "rtems_task_restart (blocked, no preempt)",
     306    "rtems_task_restart: blocked task -- returns to caller",
    307307    end_time,
    308308    OPERATION_COUNT,
     
    321321
    322322  put_time(
    323     "rtems_task_delete (blocked)",
     323    "rtems_task_delete: blocked task",
    324324    end_time,
    325325    OPERATION_COUNT,
  • testsuites/tmtests/tm05/task1.c

    r4442d21c r5c491aef  
    9191
    9292  put_time(
    93     "rtems_task_resume (causing preempt)",
     93    "rtems_task_resume: task readied -- preempts caller",
    9494    end_time,
    9595    OPERATION_COUNT,
     
    120120
    121121  put_time(
    122     "rtems_task_suspend self",
     122    "rtems_task_suspend: calling task",
    123123    end_time,
    124124    OPERATION_COUNT,
  • testsuites/tmtests/tm06/task1.c

    r4442d21c r5c491aef  
    8989
    9090  put_time(
    91     "rtems_task_restart self",
     91    "rtems_task_restart: calling task",
    9292    end_time,
    9393    OPERATION_COUNT,
     
    117117
    118118  put_time(
    119     "rtems_task_suspend (no preempt)",
     119    "rtems_task_suspend: returns to caller",
    120120    end_time,
    121121    OPERATION_COUNT,
     
    130130
    131131  put_time(
    132     "rtems_task_resume (no preempt)",
     132    "rtems_task_resume: task readied -- returns to caller",
    133133    end_time,
    134134    OPERATION_COUNT,
     
    143143
    144144  put_time(
    145     "rtems_task_delete (others)",
     145    "rtems_task_delete: ready task",
    146146    end_time,
    147147    OPERATION_COUNT,
  • testsuites/tmtests/tm07/task1.c

    r4442d21c r5c491aef  
    1515#include "system.h"
    1616
    17 rtems_id Task_id[OPERATION_COUNT+1], task_index;
     17rtems_id Task_id[ OPERATION_COUNT+1 ], task_index;
    1818
    1919rtems_task High_task(
     
    8585
    8686    put_time(
    87       "rtems_task_restart suspended/preempt",
     87      "rtems_task_restart: suspended task -- preempts caller",
    8888      end_time,
    8989      OPERATION_COUNT,
  • testsuites/tmtests/tm08/task1.c

    r4442d21c r5c491aef  
    9898
    9999  put_time(
    100     "rtems_task_set_priority current priority",
     100    "rtems_task_set_priority: obtain current priority",
    101101    end_time,
    102102    OPERATION_COUNT,
     
    111111
    112112  put_time(
    113     "rtems_task_set_priority no preempt",
     113    "rtems_task_set_priority: returns to caller",
    114114    end_time,
    115115    OPERATION_COUNT,
     
    128128
    129129  put_time(
    130     "rtems_task_mode (current)",
     130    "rtems_task_mode: obtain current mode",
    131131    end_time,
    132132    OPERATION_COUNT,
     
    151151
    152152  put_time(
    153     "rtems_task_mode (no reschedule)",
     153    "rtems_task_mode: no reschedule",
    154154    end_time,
    155155    OPERATION_COUNT * 2,
     
    163163
    164164  put_time(
    165     "rtems_task_mode (reschedule)",
     165    "rtems_task_mode: reschedule -- returns to caller",
    166166    end_time,
    167167    1,
     
    245245
    246246  put_time(
    247     "rtems_task_mode (preemptive)",
     247    "rtems_task_mode: reschedule -- preempts caller",
    248248    end_time,
    249249    1,
  • testsuites/tmtests/tm09/task1.c

    r4442d21c r5c491aef  
    185185
    186186  put_time(
    187     "rtems_message_queue_send (no tasks waiting)",
     187    "rtems_message_queue_send: no waiting tasks",
    188188    send_time,
    189189    OPERATION_COUNT * OPERATION_COUNT,
     
    193193
    194194  put_time(
    195     "rtems_message_queue_urgent (no tasks waiting)",
     195    "rtems_message_queue_urgent: no waiting tasks",
    196196    urgent_time,
    197197    OPERATION_COUNT * OPERATION_COUNT,
     
    201201
    202202  put_time(
    203     "rtems_message_queue_receive (messages available)",
     203    "rtems_message_queue_receive: available",
    204204    receive_time,
    205205    OPERATION_COUNT * OPERATION_COUNT * 2,
     
    209209
    210210  put_time(
    211     "rtems_message_queue_flush (empty queue)",
     211    "rtems_message_queue_flush: no messages flushed",
    212212    empty_flush_time,
    213213    OPERATION_COUNT,
     
    217217
    218218  put_time(
    219     "rtems_message_queue_flush (messages flushed)",
     219    "rtems_message_queue_flush: messages flushed",
    220220    flush_time,
    221221    OPERATION_COUNT,
  • testsuites/tmtests/tm10/task1.c

    r4442d21c r5c491aef  
    106106
    107107  put_time(
    108     "rtems_message_queue_receive (RTEMS_NO_WAIT)",
     108    "rtems_message_queue_receive: not available -- NO_WAIT",
    109109    end_time,
    110110    OPERATION_COUNT,
     
    154154
    155155  put_time(
    156     "rtems_message_queue_receive (blocking)",
     156    "rtems_message_queue_receive: not available -- caller blocks",
    157157    end_time,
    158158    OPERATION_COUNT,
  • testsuites/tmtests/tm11/task1.c

    r4442d21c r5c491aef  
    144144
    145145  put_time(
    146     "rtems_message_queue_send (preemptive)",
     146    "rtems_message_queue_send: task readied -- preempts caller",
    147147    end_time,
    148148    OPERATION_COUNT,
  • testsuites/tmtests/tm12/task1.c

    r4442d21c r5c491aef  
    120120
    121121  put_time(
    122     "rtems_message_queue_send (readying)",
     122    "rtems_message_queue_send: task readied -- returns to caller",
    123123    end_time,
    124124    OPERATION_COUNT,
  • testsuites/tmtests/tm13/task1.c

    r4442d21c r5c491aef  
    143143
    144144  put_time(
    145     "rtems_message_queue_urgent (preemptive)",
     145    "rtems_message_queue_urgent: task readied -- preempts caller",
    146146    end_time,
    147147    OPERATION_COUNT,
  • testsuites/tmtests/tm14/task1.c

    r4442d21c r5c491aef  
    120120
    121121  put_time(
    122     "rtems_message_queue_urgent (readying)",
     122    "rtems_message_queue_urgent: task readied -- returns to caller",
    123123    end_time,
    124124    OPERATION_COUNT,
  • testsuites/tmtests/tm15/task1.c

    r4442d21c r5c491aef  
    9999
    100100  put_time(
    101     "rtems_event_receive (current)",
     101    "rtems_event_receive: obtain current events",
    102102    end_time,
    103103    OPERATION_COUNT,
     
    120120
    121121  put_time(
    122     "rtems_event_receive (RTEMS_NO_WAIT)",
     122    "rtems_event_receive: not available -- NO_WAIT",
    123123    end_time,
    124124    OPERATION_COUNT,
     
    138138
    139139  put_time(
    140     "rtems_event_receive (blocking)",
     140    "rtems_event_receive: not available -- caller blocks",
    141141    end_time,
    142142    OPERATION_COUNT,
     
    156156
    157157  put_time(
    158     "rtems_event_send (non-blocking)",
     158    "rtems_event_send: no task readied",
    159159    end_time,
    160160    OPERATION_COUNT,
     
    173173
    174174  put_time(
    175     "rtems_event_receive (available)",
     175    "rtems_event_receive: available",
    176176    end_time,
    177177    1,
     
    186186
    187187  put_time(
    188     "rtems_event_send (readying)",
     188    "rtems_event_send: task readied -- returns to caller",
    189189    end_time,
    190190    OPERATION_COUNT,
  • testsuites/tmtests/tm16/task1.c

    r4442d21c r5c491aef  
    137137
    138138  put_time(
    139     "rtems_event_send (preemptive)",
     139    "rtems_event_send: task readied -- preempts caller",
    140140    end_time,
    141141    OPERATION_COUNT,
  • testsuites/tmtests/tm17/task1.c

    r4442d21c r5c491aef  
    116116
    117117  put_time(
    118     "rtems_task_set_priority (preemptive)",
     118    "rtems_task_set_priority: preempts caller",
    119119    end_time,
    120120    OPERATION_COUNT,
  • testsuites/tmtests/tm18/task1.c

    r4442d21c r5c491aef  
    101101
    102102  put_time(
    103     "rtems_task_delete self",
     103    "rtems_task_delete: calling task",
    104104    end_time,
    105105    OPERATION_COUNT,
  • testsuites/tmtests/tm19/task1.c

    r4442d21c r5c491aef  
    9595
    9696  put_time(
    97     "rtems_signal_send (self)",
     97    "rtems_signal_send: signal to self",
    9898    end_time,
    9999    1,
     
    102102  );
    103103
    104   puts( "SIGNAL_ENTER (non-preemptive) na" );
    105 
    106104  Timer_initialize();
    107105}
     
    112110{
    113111  rtems_status_code status;
    114 
    115   puts( "SIGNAL_ENTER (preemptive) na" );
    116112
    117113  status = rtems_task_resume( Task_id[ 3 ] );
     
    144140
    145141  put_time(
    146     "rtems_signal_send (non-preemptive)",
     142    "rtems_signal_send: returns to caller",
    147143    end_time,
    148144    1,
     
    159155
    160156  put_time(
    161     "SIGNAL_RETURN (non-preemptive)",
     157    "exit ASR overhead: returns to calling task",
    162158    end_time,
    163159    1,
     
    201197
    202198  put_time(
    203     "SIGNAL_RETURN (preemptive)",
     199    "exit ASR overhead: returns to preempting task",
    204200    end_time,
    205201    1,
  • testsuites/tmtests/tm20/task1.c

    r4442d21c r5c491aef  
    138138
    139139  put_time(
    140     "rtems_partition_get_buffer (available)",
     140    "rtems_partition_get_buffer: available",
    141141    end_time,
    142142    1,
     
    163163
    164164  put_time(
    165     "rtems_partition_get_buffer (not available)",
     165    "rtems_partition_get_buffer: not available",
    166166    end_time,
    167167    1,
     
    224224
    225225  put_time(
    226     "rtems_region_get_segment (available)",
     226    "rtems_region_get_segment: available",
    227227    end_time,
    228228    1,
     
    242242
    243243  put_time(
    244     "rtems_region_get_segment (RTEMS_NO_WAIT)",
     244    "rtems_region_get_segment: not available -- NO_WAIT",
    245245    end_time,
    246246    1,
     
    257257
    258258  put_time(
    259     "rtems_region_return_segment (no tasks waiting)",
     259    "rtems_region_return_segment: no waiting tasks",
    260260    end_time,
    261261    1,
     
    287287
    288288  put_time(
    289     "rtems_region_return_segment (preempt)",
     289    "rtems_region_return_segment: task readied -- preempts caller",
    290290    end_time,
    291291    1,
     
    438438
    439439  put_time(
    440     "rtems_region_get_segment (blocking)",
     440    "rtems_region_get_segment: not available -- caller blocks",
    441441    end_time,
    442442    1,
     
    455455
    456456  put_time(
    457     "rtems_region_return_segment (ready -- return)",
     457    "rtems_region_return_segment: task readied -- returns to caller",
    458458    end_time,
    459459    1,
  • testsuites/tmtests/tm22/task1.c

    r4442d21c r5c491aef  
    9898
    9999  put_time(
    100     "rtems_message_queue_broadcast (readying)",
     100    "rtems_message_queue_broadcast: task readied -- returns to caller",
    101101    end_time,
    102102    1,
     
    152152
    153153  put_time(
    154     "rtems_message_queue_broadcast (no waiting tasks)",
     154    "rtems_message_queue_broadcast: no waiting tasks",
    155155    end_time,
    156156    OPERATION_COUNT,
     
    172172
    173173  put_time(
    174     "rtems_message_queue_broadcast (preempt)",
     174    "rtems_message_queue_broadcast: task readied -- preempts caller",
    175175    end_time,
    176176    1,
  • testsuites/tmtests/tm23/task1.c

    r4442d21c r5c491aef  
    123123
    124124  put_time(
    125     "rtems_timer_fire_after (inactive)",
     125    "rtems_timer_fire_after: inactive",
    126126    end_time,
    127127    OPERATION_COUNT,
     
    136136
    137137  put_time(
    138     "rtems_timer_fire_after (active)",
     138    "rtems_timer_fire_after: active",
    139139    end_time,
    140140    OPERATION_COUNT,
     
    149149
    150150  put_time(
    151     "rtems_timer_cancel (active)",
     151    "rtems_timer_cancel: active",
    152152    end_time,
    153153    OPERATION_COUNT,
     
    163163
    164164  put_time(
    165     "rtems_timer_cancel (inactive)",
     165    "rtems_timer_cancel: inactive",
    166166    end_time,
    167167    OPERATION_COUNT,
     
    177177
    178178  put_time(
    179     "rtems_timer_reset (inactive)",
     179    "rtems_timer_reset: inactive",
    180180    end_time,
    181181    OPERATION_COUNT,
     
    190190
    191191  put_time(
    192     "rtems_timer_reset (active)",
     192    "rtems_timer_reset: active",
    193193    end_time,
    194194    OPERATION_COUNT,
     
    214214
    215215  put_time(
    216     "rtems_timer_fire_when (inactive)",
     216    "rtems_timer_fire_when: inactive",
    217217    end_time,
    218218    OPERATION_COUNT,
     
    228228
    229229  put_time(
    230     "rtems_timer_fire_when (active)",
     230    "rtems_timer_fire_when: active",
    231231    end_time,
    232232    OPERATION_COUNT,
     
    241241
    242242  put_time(
    243     "rtems_timer_delete (active)",
     243    "rtems_timer_delete: active",
    244244    end_time,
    245245    OPERATION_COUNT,
     
    266266
    267267  put_time(
    268     "rtems_timer_delete (inactive)",
     268    "rtems_timer_delete: inactive",
    269269    end_time,
    270270    OPERATION_COUNT,
  • testsuites/tmtests/tm24/task1.c

    r4442d21c r5c491aef  
    8686
    8787  put_time(
    88     "rtems_task_wake_after (no context switch)",
     88    "rtems_task_wake_after: yield -- returns to caller",
    8989    end_time,
    9090    OPERATION_COUNT,
     
    111111
    112112    put_time(
    113       "rtems_task_wake_after (context switch)",
     113      "rtems_task_wake_after: yields -- preempts caller",
    114114      end_time,
    115115      OPERATION_COUNT,
  • testsuites/tmtests/tm26/task1.c

    r4442d21c r5c491aef  
    174174 
    175175  put_time(
    176     "INTERRUPT DISABLE",
     176    "_ISR_Disable",
    177177    end_time,
    178178    1,
     
    186186 
    187187  put_time(
    188     "INTERRUPT FLASH",
     188    "_ISR_Flash",
    189189    end_time,
    190190    1,
     
    198198 
    199199  put_time(
    200     "INTERRUPT ENABLE",
     200    "_ISR_Enable",
    201201    end_time,
    202202    1,
     
    210210
    211211  put_time(
    212     "THREAD_DISABLE_DISPATCH",
     212    "_Thread_Disable_dispatch",
    213213    end_time,
    214214    1,
     
    222222
    223223  put_time(
    224     "THREAD_ENABLE_DISPATCH",
     224    "_Thread_Enable_dispatch",
    225225    end_time,
    226226    1,
     
    234234
    235235  put_time(
    236     "THREAD_SET_STATE",
     236    "_Thread_Set_state",
    237237    end_time,
    238238    1,
     
    254254
    255255  put_time(
    256     "THREAD_DISPATCH (NO FP)",
     256    "_Thread_Disptach (NO FP)",
    257257    end_time,
    258258    1,
     
    290290
    291291  put_time(
    292     "CONTEXT_SWITCH (NO FP)",
     292    "context switch: no floating point contexts",
    293293    end_time,
    294294    1,
     
    307307
    308308  put_time(
    309     "CONTEXT_SWITCH (SELF)",
     309    "context switch: self",
    310310    end_time,
    311311    1,
     
    319319
    320320  put_time(
    321     "CONTEXT_SWITCH (Initialised)",
     321    "context switch: to another task",
    322322    end_time,
    323323    1,
     
    350350
    351351  put_time(
    352     "CONTEXT_SWITCH (restore 1st FP)",
     352    "fp context switch: restore 1st FP task",
    353353    end_time,
    354354    1,
     
    377377
    378378  put_time(
    379     "CONTEXT_SWITCH (used->init FP)",
     379    "fp context switch: save idle, restore initialized",
    380380    end_time,
    381381    1,
     
    414414
    415415  put_time(
    416     "CONTEXT_SWITCH (init->init FP)",
     416    "fp context switch: save idle, restore idle",
    417417    end_time,
    418418    1,
     
    443443
    444444  put_time(
    445     "CONTEXT_SWITCH (used->used FP)",
     445    "fp context switch: save initialized, restore initialized",
    446446    end_time,
    447447    1,
     
    463463
    464464  put_time(
    465     "THREAD_RESUME",
     465    "_Thread_Resume",
    466466    end_time,
    467467    1,
     
    477477
    478478  put_time(
    479     "THREAD_UNBLOCK",
     479    "_Thread_Unblock",
    480480    end_time,
    481481    1,
     
    491491
    492492  put_time(
    493     "THREAD_READY",
     493    "_Thread_Ready",
    494494    end_time,
    495495    1,
     
    511511
    512512  put_time(
    513     "THREAD_GET",
     513    "_Thread_Get",
    514514    end_time,
    515515    OPERATION_COUNT,
     
    524524
    525525  put_time(
    526     "SEMAPHORE_GET",
     526    "_Semaphore_Get",
    527527    end_time,
    528528    OPERATION_COUNT,
     
    537537
    538538  put_time(
    539     "THREAD_GET invalid id",
     539    "_Thread_Get: invalid id",
    540540    end_time,
    541541    OPERATION_COUNT,
  • testsuites/tmtests/tm27/task1.c

    r4442d21c r5c491aef  
    105105
    106106  put_time(
    107     "INTERRUPT_ENTER (no preempt)",
     107    "interrupt entry overhead: returns to interrupted task",
    108108    Interrupt_enter_time,
    109109    1,
     
    113113
    114114  put_time(
    115     "INTERRUPT_RETURN (no preempt)",
     115    "interrupt exit overhead: returns to interrupted task",
    116116    Interrupt_return_time,
    117117    1,
     
    139139
    140140  put_time(
    141     "INTERRUPT_ENTER (nested interrupt)",
     141    "interrupt entry overhead: returns to nested interrupt",
    142142    Interrupt_enter_nested_time,
    143143    1,
     
    147147
    148148  put_time(
    149     "INTERRUPT_RETURN (nested interrupt)",
     149    "interrupt exit overhead: returns to nested interrupt",
    150150    Interrupt_return_nested_time,
    151151    1,
     
    194194
    195195  put_time(
    196     "INTERRUPT_ENTER (preempt)",
     196    "interrupt entry overhead: returns to preempting task",
    197197    Interrupt_enter_time,
    198198    1,
     
    202202
    203203  put_time(
    204     "INTERRUPT_RETURN (preempt)",
     204    "interrupt exit overhead: returns to preempting task",
    205205    end_time,
    206206    1,
  • testsuites/tmtests/tm29/task1.c

    r4442d21c r5c491aef  
    5858
    5959  put_time(
    60     "rtems_rate_monotonic_period (initial)",
     60    "rtems_rate_monotonic_period: initiate period -- returns to caller",
    6161    end_time,
    6262    1,
     
    7070
    7171  put_time(
    72     "rtems_rate_monotonic_period (STATUS)",
     72    "rtems_rate_monotonic_period: obtain status",
    7373    end_time,
    7474    1,
     
    9494
    9595  put_time(
    96     "rtems_rate_monotonic_delete (cancelled)",
     96    "rtems_rate_monotonic_delete: inactive",
    9797    end_time,
    9898    1,
     
    112112
    113113  put_time(
    114     "rtems_rate_monotonic_delete (active)",
     114    "rtems_rate_monotonic_delete: active",
    115115    end_time,
    116116    1,
     
    196196
    197197  put_time(
    198     "rtems_rate_monotonic_period (blocking)",
     198    "rtems_rate_monotonic_period: conclude periods -- caller blocks",
    199199    end_time,
    200200    OPERATION_COUNT,
Note: See TracChangeset for help on using the changeset viewer.