AMD ATI CTM Technical Reference Manual page 16

Table of Contents

Advertisement

12 CTM Commands
Parameter 0:
31
30
29
28
Bits
31:0
Initialize Performance Counters Command
The init_perf_counters command takes one parameter. This command executes any setup required for performance
counter use. If bit 0 of the parameter is 1, performance counters are enabled. If it is 0, performance counters are
disabled, and the other performance counter commands have no effect.
Parameter 0:
31
30
29
28
Bits
31:1
0
Start Performance Counter Command
The start_perf_counters command takes one, reserved parameter. This command sets enabled performance
counters to zero, and then starts the counters counting.
Parameter 0:
31
30
29
28
Bits
31:0
Stop Performance Counters Command
The stop_perf_counters command takes one, reserved parameter. This command stops any enabled counters
counting.
Parameter 0:
31
30
29
28
Bits
31:0
Read Performance Counters Command
The read_perf_counters command takes one parameter. This command transfers the performance counters to an
area in memory beginning at the GPU address supplied in the parameter. The counters are written as 32-bit unsigned
integers in the order given in Section 2.1.2 .
ATI CTM Guide v. 1.01
27
26
25
24
23
22
21
Field Name
Reserved
27
26
25
24
23
22
21
Field Name
Reserved
enable
27
26
25
24
23
22
21
Field Name
Reserved
27
26
25
24
23
22
21
Field Name
Reserved
20
19
18
17
16
15
14
13
Description
Reserved
20
19
18
17
16
15
14
13
Description
Reserved
Turn performance counters on or off.
20
19
18
17
16
15
14
13
Description
Reserved
20
19
18
17
16
15
14
13
Description
Reserved
12
11
10
9
8
7
6
5
12
11
10
9
8
7
6
5
12
11
10
9
8
7
6
5
12
11
10
9
8
7
6
5
© 2006 Advanced Micro Devices, Inc.
4
3
2
1
0
4
3
2
1
0
e
4
3
2
1
0
4
3
2
1
0

Advertisement

Table of Contents
loading

Table of Contents