linux/scripts/rt-tester/t5-l4-pi-boost-deboost.tst
<<
>>
Prefs
   1#
   2# rt-mutex test
   3#
   4# Op: C(ommand)/T(est)/W(ait)
   5# |  opcode
   6# |  |     threadid: 0-7
   7# |  |     |  opcode argument
   8# |  |     |  |
   9# C: lock: 0: 0
  10#
  11# Commands
  12#
  13# opcode        opcode argument
  14# schedother    nice value
  15# schedfifo     priority
  16# lock          lock nr (0-7)
  17# locknowait    lock nr (0-7)
  18# lockint       lock nr (0-7)
  19# lockintnowait lock nr (0-7)
  20# lockcont      lock nr (0-7)
  21# unlock        lock nr (0-7)
  22# lockbkl       lock nr (0-7)
  23# unlockbkl     lock nr (0-7)
  24# signal        thread to signal (0-7)
  25# reset         0
  26# resetevent    0
  27#
  28# Tests / Wait
  29#
  30# opcode        opcode argument
  31#
  32# prioeq        priority
  33# priolt        priority
  34# priogt        priority
  35# nprioeq       normal priority
  36# npriolt       normal priority
  37# npriogt       normal priority
  38# locked        lock nr (0-7)
  39# blocked       lock nr (0-7)
  40# blockedwake   lock nr (0-7)
  41# unlocked      lock nr (0-7)
  42# lockedbkl     dont care
  43# blockedbkl    dont care
  44# unlockedbkl   dont care
  45# opcodeeq      command opcode or number
  46# opcodelt      number
  47# opcodegt      number
  48# eventeq       number
  49# eventgt       number
  50# eventlt       number
  51
  52#
  53# 5 threads 4 lock PI
  54#
  55C: resetevent:          0:      0
  56W: opcodeeq:            0:      0
  57
  58# Set schedulers
  59C: schedother:          0:      0
  60C: schedfifo:           1:      81
  61C: schedfifo:           2:      82
  62C: schedfifo:           3:      83
  63C: schedfifo:           4:      84
  64
  65# T0 lock L0
  66C: locknowait:          0:      0
  67W: locked:              0:      0
  68
  69# T1 lock L1
  70C: locknowait:          1:      1
  71W: locked:              1:      1
  72
  73# T1 lock L0
  74C: lockintnowait:       1:      0
  75W: blocked:             1:      0
  76T: prioeq:              0:      81
  77
  78# T2 lock L2
  79C: locknowait:          2:      2
  80W: locked:              2:      2
  81
  82# T2 lock L1
  83C: lockintnowait:       2:      1
  84W: blocked:             2:      1
  85T: prioeq:              0:      82
  86T: prioeq:              1:      82
  87
  88# T3 lock L3
  89C: locknowait:          3:      3
  90W: locked:              3:      3
  91
  92# T3 lock L2
  93C: lockintnowait:       3:      2
  94W: blocked:             3:      2
  95T: prioeq:              0:      83
  96T: prioeq:              1:      83
  97T: prioeq:              2:      83
  98
  99# T4 lock L3
 100C: lockintnowait:       4:      3
 101W: blocked:             4:      3
 102T: prioeq:              0:      84
 103T: prioeq:              1:      84
 104T: prioeq:              2:      84
 105T: prioeq:              3:      84
 106
 107# Signal T4
 108C: signal:              4:      0
 109W: unlocked:            4:      3
 110T: prioeq:              0:      83
 111T: prioeq:              1:      83
 112T: prioeq:              2:      83
 113T: prioeq:              3:      83
 114
 115# Signal T3
 116C: signal:              3:      0
 117W: unlocked:            3:      2
 118T: prioeq:              0:      82
 119T: prioeq:              1:      82
 120T: prioeq:              2:      82
 121
 122# Signal T2
 123C: signal:              2:      0
 124W: unlocked:            2:      1
 125T: prioeq:              0:      81
 126T: prioeq:              1:      81
 127
 128# Signal T1
 129C: signal:              1:      0
 130W: unlocked:            1:      0
 131T: priolt:              0:      1
 132
 133# Unlock and exit
 134C: unlock:              3:      3
 135C: unlock:              2:      2
 136C: unlock:              1:      1
 137C: unlock:              0:      0
 138
 139W: unlocked:            3:      3
 140W: unlocked:            2:      2
 141W: unlocked:            1:      1
 142W: unlocked:            0:      0
 143
 144