Data Conversion

The convert command allows you to transform trace data between different file formats supported by iCLUTO.

Supported Formats

  • .txt: Human-readable text files.
  • .bin: Binary files (often used for performance or legacy compatibility).
  • .npy: NumPy binary format (recommended for use within iCLUTO and Python).

Usage

Basic Conversion

To convert one or more files to a single output file:

icluto convert <input_files>... <output_file>

Example:

icluto convert trace1.txt trace2.txt combined.npy

Batch Conversion via File List

If you have a large number of files, you can provide a text file containing the paths to all input files (one per line):

icluto convert --from-file file_list.txt output.npy
  • --from-file: Path to the text file containing the input file list.

Why Convert?

Converting your raw data (like .txt or .bin) into the .npy format is highly recommended because: - It significantly speeds up loading times in subsequent cluster or inspect runs. - It is more storage-efficient than .txt.