Skip to main content

pyCubexR 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.2.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycubexr-0.0.2-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file pycubexr-0.0.2.tar.gz.

File metadata

  • Download URL: pycubexr-0.0.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7

File hashes

Hashes for pycubexr-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9b781d15db923556f34e0421d37d22105466d21ac9772cf07f8fb630d4000363
MD5 dbc3b245c81edb10e88e4b71cf3474f0
BLAKE2b-256 50a0f8d0a71c8f64a73db95361fb949dc4a49cf372872792569e6ad8ef576750

See more details on using hashes here.

File details

Details for the file pycubexr-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pycubexr-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.7

File hashes

Hashes for pycubexr-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42326de3e1de72b1c584694035c189d24430669fdaa6453ace830929f31eb011
MD5 1b4fe0f4558c34956740a0922b1c2d1c
BLAKE2b-256 e93578d15e54bbecd0dedd977bcbdf881ae6d8f4b6c6433e9e3bafa849ff323e

See more details on using hashes here.

Supported by

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