Changeset 9197 for trunk/Ohana/src/opihi/cmd.data/test/peak.sh
- Timestamp:
- Oct 4, 2006, 9:53:08 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.data/test/peak.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/test/peak.sh
r6642 r9197 4 4 test2 5 5 test3 6 test4 7 test5 6 8 end 7 9 … … 74 76 end 75 77 78 # test memory usage 79 macro test4 80 $PASS = 1 81 break -auto off 82 83 create x 0 100 84 set y = zero (x) 85 y[60] = 2 86 y[50] = 1 87 y[40] = 2 88 89 echo "peak:" 90 exec ps aux | grep mana | grep -v grep 91 for i 0 100000 92 peak -q x y 45 55 93 end 94 exec ps aux | grep mana | grep -v grep 95 96 ## HOW do we test this? 97 end 98 99 # test memory usage 100 macro test5 101 $PASS = 1 102 break -auto off 103 104 create x 0 100 105 set y = zero (x) 106 y[60] = 2 107 y[50] = 1 108 y[40] = 2 109 110 echo "peak:" 111 exec ps aux | grep mana | grep -v grep 112 for i 0 1000 113 peak x y 45 55 114 end 115 exec ps aux | grep mana | grep -v grep 116 117 ## HOW do we test this? 118 end 119
Note:
See TracChangeset
for help on using the changeset viewer.
