# US 2024/0004582 A1 · Monitoring and exporting command execution times in a semiconductor device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0004582 A1
- Document ID: US20240004582A1
- Status: Published application
- Kind: A1
- Application number: 17/853,809
- Filed: 2022-06-29
- Published: 2024-01-04
- Earliest claimed: 2022-06-29
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Binbin Huo
- Web page: https://patentgrep.com/patent/US20240004582A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The disclosure relates to improvements in command execution in semiconductor devices. In some aspects, the techniques described herein relate to an apparatus including: a storage array; and a processor configured to: receive a command from a host processor, start to profile the command by initializing a counter at a first time, issue the command to the storage array, receive a response to the command, end profiling of the command at a second time, and update a command timing for a type of the command.

## Claims

### Claim 1

An apparatus comprising:
a storage array; and
a processor configured to:
receive a command from a host processor,
start to profile the command by initializing a counter at a first time,
issue the command to the storage array,
receive a response to the command,
end profiling of the command at a second time, and
update a command timing for a type of the command.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the command comprises one of a read command and a write command or a non-data transmission command selected from the group consisting of an erase, purge, or sanitize command.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein initializing a counter comprises initializing a register associated with the type of the command.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein initializing a counter comprises initializing a portion of a register associated with the type of the command.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein initializing a counter comprises initializing a register associated with multiple types of commands.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein updating the command timing comprises computing a time difference between the first time and the second time.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein updating the command timing comprises computing a number of clock cycles that occur between the first time and the second time.

### Claim 8

A method comprising:
receiving, by a semiconductor device, a command from a host processor;
starting, by the semiconductor device, to profile the command by initializing a counter at a first time;
issuing, by the semiconductor device, the command to a storage array managed by the semiconductor device;
receiving, by the semiconductor device, a response to the command;
ending, by the semiconductor device, profiling of the command at a second time; and
updating, by the semiconductor device, a command timing for a type of the command.

### Claim 9 (depends on 8)

The method of claim 8, wherein the command comprises one of a read command and a write command or a non-data transmission command selected from the group consisting of an erase, purge, or sanitize command.

### Claim 10 (depends on 8)

The method of claim 8, wherein initializing a counter comprises initializing a register associated with the type of the command.

### Claim 11 (depends on 8)

The method of claim 8, wherein initializing a counter comprises initializing a portion of a register associated with the type of the command.

### Claim 12 (depends on 8)

The method of claim 8, wherein initializing a counter comprises initializing a register associated with multiple types of commands.

### Claim 13 (depends on 8)

The method of claim 8, wherein updating the command timing comprises computing a time difference between the first time and the second time.

### Claim 14 (depends on 8)

The method of claim 8, wherein updating the command timing comprises computing a number of clock cycles that occur between the first time and the second time.

### Claim 15

A non-transitory computer-readable storage medium for tangibly storing computer program instructions capable of being executed by a computer processor, the computer program instructions defining steps of:
receiving, by a semiconductor device, a command from a host processor;
starting, by the semiconductor device, to profile the command by initializing a counter at a first time;
issuing, by the semiconductor device, the command to a storage array managed by the semiconductor device;
receiving, by the semiconductor device, a response to the command;
ending, by the semiconductor device, profiling of the command at a second time; and
updating, by the semiconductor device, a command timing for a type of the command.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein initializing a counter comprises initializing a register associated with the type of the command.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein initializing a counter comprises initializing a portion of a register associated with the type of the command.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein initializing a counter comprises initializing a register associated with multiple types of commands.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein updating the command timing comprises computing a time difference between the first time and the second time.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein updating the command timing comprises computing a number of clock cycles that occur between the first time and the second time.
