Skip to main content

pyCubeR is a Python package for reading the Cube4 file format.

Project description

pyCubexR

pyCubexR is a Python package for reading the Cube4 (.cubex) file format. Cube is used as a performance report explorer for Scalasca and Score-P. It is used as a generic tool for displaying a multi-dimensional performance space consisting of the dimensions (i) performance metric, (ii) call path, and (iii) system resource. Each dimension can be represented as a tree, where non-leaf nodes of the tree can be collapsed or expanded to achieve the desired level of granularity. The Cube4 (.cubex) data format is provided for Cube files produced with the Score-P performance instrumentation and measurement infrastructure or the Scalasca version 2.x trace analyzer (and other compatible tools).

For question regarding pyCubeR please send a message to extra-p@lists.parallel.informatik.tu-darmstadt.de.

Installation

To install the current release:

$ pip install pycubexr

Usage

from pycubexr import CubexParser

cubex_file_path = "some/profile.cubex"
with CubexParser(cubex_file_path) as cubex:
    for metric in cubex.get_metrics():
        metric_values = cubex.get_metric_values(metric=metric)
        cnode = cubex.get_cnode(metric_values.cnode_indices[0])
        region = cubex.get_region(cnode)
        cnode_values = metric_values.cnode_values(cnode.id)

License

BSD 3-Clause "New" or "Revised" License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycubexr-0.0.1.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

pycubexr-0.0.1-py3-none-any.whl (13.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page