時間 6!:

6!:0 y 當前. 當前時間依序為 YMDHMS (微秒):
   6!:0 ''
1998 3 10 23 21 14.468
6!:1 y . 本節使用時間計秒
 
[x] 6!:2 y 執行. 執行句子 y 重複 x 次的平均秒數,預設執行一次。例如:
   a=:?50 50$100
   6!:2 '%.a'
0.091
   10 (6!:2) '%.a'          執行10次的平均時間
0.0771
   ts=: 6!:2 , 7!:2@]       時間與空間
   ts '%.a'
0.08 369920
6!:3 y 延遲. 延遲 y 秒執行。 例如, 6!:3 (2.5)
 
6!:8 y 查詢時鐘頻率. 傳回時鐘頻率,每秒時鐘計數次數。 (在視窗,為 QueryPerformanceFrequency的結果) 引數 y 無影響。
   6!:8 ''
1.19318e6
6!:9 y 查詢時鐘計數器. 傳回當前時鐘計數 (elapsed時間)值。 (在視窗,為 QueryPerformanceCounter的結果) 引數 y 無影響。
   6!:9 ''
4.08486e9
   _10 [\ 2 -~/\ 6!:9"0 (101)$0
9 7 7 6 7 5 7 6 6 7
6 7 6 6 6 6 8 6 6 7
6 6 7 6 6 7 6 6 6 6
6 7 6 6 6 6 7 6 6 8
6 7 6 6 6 7 6 6 6 7
6 6 6 7 7 6 7 6 7 6
6 6 6 7 6 6 6 6 7 6
6 6 6 7 6 7 7 6 7 6
6 6 6 6 7 6 6 6 7 6
6 6 6 6 6 6 6 6 6 8
6!:10 y Performance Monitor Data Area. Literal (character) 向量 y is to hold fixed-sized records of "packed" performance monitor data; old PM data area (if any) is released. PM counter (see 6!:12)is set to 0. If y is an empty 向量, no PM data will be collected.

x is a 2-分子控制參數向量; 0 0 為預設值。

0{x - what to record
        0 - entry與exit
        1 - entry與exit與all lines
1{x - action on running out of space in y
        0 - "wrap", discard oldest record
        1 - "truncate", discard newest record

result is number of records that will be held in y.

6!:11 y Unpack PM Data. Unpack PM data, resulting in a boxed 向量 of data columns:

0  name
1  場合 where name is found
2  valence
3  line number(_1 for entry; _2 for exit)
4  space in use (bytes)
5  time (seconds)
6  list of names

Columns 0與1 are indices into column 6. Columns 0 to 5 have same number of (corresponding) 分子.

y are indices of rows to be unpacked, where 0 is oldest row (and _1 is newest row). All rows are selected if y is empty 向量. Rows 在result are always arranged from oldest to newest與no row is selected more than once.
 
6!:12 y 增加 y 到 PM 計數器. PM data is recorded if PM counter is greater than 0 and a PM data area is extant. (A non-empty PM data area must be specified before PM counter can be changed.) result is value of PM counter after operation.
 
6!:13 y PM Statistics. 得到一 6-分子下述資訊的向量 :

0 - what to record
      0 - entry與exit
      1 - entry與exit與all lines
1 - action on insufficient space
      0 - wrap
      1 - truncate
2 - maximum number of records
3 - 當前number of records
4 - 是否 records have been lost
5 - 當前 PM 計數器之值

If no PM data area has been specified result is 6$0.引數 y is ignored.



額外範例:
   sum=: +/

   avg=: 3 : 0
n=. #y.
s=. sum y.
s % n
)

   1 (6!:10) 1e5$'x'
3570
   (6!:12) 1
1
   avg"1 ? 3 10$100
65 64.4 64.3
   (6!:12) _1
0

   x=. 6!:11 ''
   $&.> x
+--+--+--+--+--+--+-+
|21|21|21|21|21|21|3|
+--+--+--+--+--+--+-+
   |: > 6{. x
0 2 1 _1 1152 22582.5
0 2 1  0 4224 22582.5
0 2 1  1  576 22582.5
1 2 1 _1  128 22582.5
1 2 1 _2   64 22582.5
0 2 1  2  128 22582.5
0 2 1 _2    0 22582.5
0 2 1 _1  128 22582.5
0 2 1  0 4224 22582.5
0 2 1  1  576 22582.5
1 2 1 _1  128 22582.5
1 2 1 _2   64 22582.5
0 2 1  2  128 22582.5
0 2 1 _2    0 22582.5
0 2 1 _1    0 22582.5
0 2 1  0 4224 22582.5
0 2 1  1  576 22582.5
1 2 1 _1  128 22582.5
1 2 1 _2   64 22582.5
0 2 1  2  128 22582.5
0 2 1 _2    0 22582.5
   
   _5[\ 2 - ~/\ > 5{x
4.52571e_5 2.09524e_5 1.50857e_5 1.67619e_5 9.21905e_6
6.28571e_5 9.21905e_6 1.59238e_5 1.59238e_5 1.34095e_5
1.00571e_5 1.00571e_5 5.61524e_5 7.54286e_6 1.59238e_5
1.50857e_5 1.42476e_5 1.00571e_5 8.38095e_6 5.61524e_5
   
   > {: x
+---+---+----+
|avg|sum|base|
+---+---+----+
   
   (6!:10) 1e5$'x'   NB. entry與exit only
3570
   (6!:12) 1
1
   avg"1 ? 3 10$100
38.8 61.9 61.7
   (6!:12) _1
0

   x=. 6!:11 ''
   |: > 6{.x
0 2 1 _1  832 22681.5
1 2 1 _1 4928 22681.5
1 2 1 _2   64 22681.5
0 2 1 _2  128 22681.5
0 2 1 _1  128 22681.5
1 2 1 _1 4928 22681.5
1 2 1 _2   64 22681.5
0 2 1 _2  128 22681.5
0 2 1 _1    0 22681.5
1 2 1 _1 4928 22681.5
1 2 1 _2   64 22681.5
0 2 1 _2  128 22681.5

   _5[\ 2 - ~/\ > 5{x
7.12381e_5  1.50857e_5 6.70476e_5 9.21905e_6    3.52e_5
1.00571e_5 0.000108952 7.54286e_6 3.93905e_5 1.08952e_5
6.03428e_5           0          0          0          0

   6!:13 ''
0 0 3570 12 0 0
   
   sum_ab_ =: +/

   sum_z_ =: sum_ab_

   avg_q_ =: 3 : 0
tally=. #
s=. sum y.
n=. tally y.
s % n
)

   (6!:10) 1e5$'x'
3570
   (6!:12) 1
1
   avg_q_ i.12
5.5

   (6!:12) _1
0

   x=: 6!:11 ''
   (>{&>/0 6{x) ,. ' ' ,. (>{&>/1 6{x) ,. ' ' ,. ": ,. >3{x
avg_q_  q  _1
sum     q  _1
sum_ab_ ab _1
sum_ab_ ab _2
sum     q  _2
tally   q  _1
tally   q  _2
avg_q_  q  _2
   
   > 6{x
+------+---+-------+-----+-+--+
|avg_q_|sum|sum_ab_|tally|q|ab|
+------+---+-------+-----+-+--+

下個前個字彙索引主選單