Skip to content

Commit

Permalink
Update README.md for disk.runReadRoutine (#60)
Browse files Browse the repository at this point in the history
* Update README.md for disk.runReadRoutine

Update params for disk.runReadRoutine
  • Loading branch information
BaiiYuan authored Jan 8, 2025
1 parent ccbf68a commit 2c2de8a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,13 @@ Source:
| embeddedDisplay | EmbeddedDisplayInfo | Information about embedded display |
| externalDisplays | Array\<ExternalDisplayInfo\> | Information about external displays |

### DiskReadRoutineParams
| Property Name | Type | Description |
| -------------- | ------ | ----------------------------------------------------------------------------------------- |
| type | string | Type of disk read routine that will be started. Selects between a "linear" or a "random". |
| length_seconds | number | Length of time to run the routine for. |
| file_size_mb | number | Test file size, in mega bytes, to test with DiskRead routine. Maximum file size is 10 GB. |

## Functions
### dpsl.telemetry.*
| Function Name | Definition | Permission needed to access | Released in `dpsl` version |
Expand Down Expand Up @@ -505,9 +512,9 @@ Source:
| runMemoryRoutine | () => Promise\<Routine\> | `os.diagnostics` | 1.0.0 |

### dpsl.diagnostics.disk.*
| Function Name | Definition | Permission needed to access | Released in `dpsl` version |
| -------------- | ------------------------ | --------------------------- | -------------------------- |
| runReadRoutine | () => Promise\<Routine\> | `os.diagnostics` | 1.3.1 |
| Function Name | Definition | Permission needed to access | Released in `dpsl` version |
| -------------- | ----------------------------------------------------- | --------------------------- | -------------------------- |
| runReadRoutine | (params: DiskReadRoutineParams) => Promise\<Routine\> | `os.diagnostics` | 1.3.1 |

### dpsl.diagnostics.emmc.*
| Function Name | Definition | Permission needed to access | Released in `dpsl` version |
Expand Down

0 comments on commit 2c2de8a

Please sign in to comment.