Skip to content

Commit 77d3681

Browse files
committedNov 12, 2024·
Updated information related to CSV data
1 parent 923e43a commit 77d3681

File tree

3 files changed

+2868
-1
lines changed

3 files changed

+2868
-1
lines changed
 

‎README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The fastest way to test ATSC is with a CSV file!
2222
3. Run it
2323

2424
```bash
25-
cargo run --release -- -csv <input-file>
25+
cargo run --release -- --csv <input-file>
2626
```
2727

2828
## Documentation
@@ -113,6 +113,12 @@ Arguments:
113113
Samples the input data instead of using all the data for selecting the optimal compressor. Only impacts speed, might or not increased compression ratio. For best results use 0 (default). Only works when compression = Auto. 0 will use all the data (slowest) 6 will sample 128 data points (fastest) [default: 0]
114114
--verbose
115115
Verbose output, dumps everysample in the input file (for compression) and in the ouput file (for decompression)
116+
--csv
117+
Defines user input as a CSV file
118+
--no-header
119+
Defines if the CSV has no header
120+
--fields <FIELDS>
121+
Defines names of fields in CSV file. It should follow this format: --fields=TIME_FIELD_NAME,VALUE_FIELD_NAME It assumes that the one before comma is a name of time field and the one after comma is value field
116122
-h, --help
117123
Print help
118124
-V, --version

‎atsc/tests/csv/cpu_utilization.csv

+2,855
Large diffs are not rendered by default.

‎docs/usage.md

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ Arguments:
2020
Samples the input data instead of using all the data for selecting the optimal compressor. Only impacts speed, might or not increased compression ratio. For best results use 0 (default). Only works when compression = Auto. 0 will use all the data (slowest) 6 will sample 128 data points (fastest) [default: 0]
2121
--verbose
2222
Verbose output, dumps everysample in the input file (for compression) and in the ouput file (for decompression)
23+
--csv
24+
Defines user input as a CSV file
25+
--no-header
26+
Defines if the CSV has no header
27+
--fields <FIELDS>
28+
Defines names of fields in CSV file. It should follow this format: --fields=TIME_FIELD_NAME,VALUE_FIELD_NAME It assumes that the one before comma is a name of time field and the one after comma is value field
2329
-h, --help
2430
Print help
2531
-V, --version

0 commit comments

Comments
 (0)
Please sign in to comment.