Utilities for processing Recorder traces
Project description
recorder-viz
This is a python package which contains tools for processing Recorder traces.
Usage
Install it using pip: pip install recorder-viz
Below is a simple code snippet shows how to use the provided class RecorderReader
.
Copy it to test.py and run python test.py [path/to/Recorder traces folder]
#!/usr/bin/env python
# encoding: utf-8
import sys
from recorder_viz import RecorderReader
reader = RecorderReader(sys.argv[1])
for rank in range(reader.GM.total_ranks):
LM = reader.LMs[rank]
print("Rank: %d, Number of trace records: %d" %(rank, LM.total_records))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
recorder-viz-0.1.3.tar.gz
(16.4 kB
view hashes)