Host Protocols Direct Protocol CONTROL class Queries BENCHMARK CLEAR
September 3, 2025 at 8:28 AMBENCHMARK CLEAR
Role
Reset benchmark data.
Remark: this command is available only in debug firmware builds. It is not available in the standard firmware releases.
Access condition
Free.
Command
Field | Value |
---|---|
CLA | 58 (CONTROL) |
INS | A7 |
Data | List of benchmark counters to clear (1 byte per counter) |
Response
Field | Length | Description / remark |
---|---|---|
STA | 1 byte | STAtus |
List of benchmark counters
Counter # | Nickname | Description |
---|---|---|
0 | CL_RF_ON | NFC/RFID front-end, time spent with RF field active |
1 | CL_RF_WAIT | NFC/RFID HF library, time taken in the initial guard time (field activation to first command to the card) |
2 | CL_LOW_COMM | NFC/RFID HF library, time taken in (SPI) communication with the front-end |
3 | CL_LOW_RESP | NFC/RFID HF library, time spent waiting for a response from the front-end (generally related to waiting for a response from the card) |
4 | CL_LIB_WORK | NFC/RFID HF library, total time spent in the library |
5 | CL_LIB_WAIT | NFC/RFID HF library, time lost waiting for a mutex taken by another task |
6 | TCL_PICC | ISO/IEC 14443-4 (T=CL), time spent waiting for card(s) response(s) |
7 | TCL_TPDU | ISO/IEC 14443-4 (T=CL), time spent in actual communication with the card(s) (TPDU level) |
8 | TCL_GT | ISO/IEC 14443-4 (T=CL), time spent observing the guard times of the card(s) |
9 | TCL_APDU | ISO/IEC 14443-4 (T=CL), time spent in the high-level exchange function |
10 | RFU | |
11 | RFU | |
12 | CT_LIB_WORK | Smart card library, total time spent in the library |
13 | CT_LIB_WAIT | Smart card library, time lost waiting for a mutex taken by another task |
14 | RFU | |
15 | T0_T1_TDPU | ISO/IEC 7816, time spent in actual communication with the card(s) (TPDU level) |
16 | T0_T1_GT | ISO/IEC 7816, time spent observing the guard times of the card(s) |
17 | T0_T1_APDU | ISO/IEC 7816, time spent in the high-level exchange function |
18 | CCID_PROCESS | CCID, time spent processing PC to RDR commands |
19 | CCID_CORE | CCID, global time consumed by the CCID task |
20 | CCID_BULK_OUT | CCID, total transmission time, PC to RDR (bulk out) |
21 | CCID_BULK_IN | CCID, total transmission time, RDR to PC (bulk in) |