Skip to content

Instantly share code, notes, and snippets.

@cinek810
cinek810 / IozoneResults.py
Last active May 18, 2019 20:00
Script visualizing iozone -a output
#!/usr/local/bin/python3
import re
import numpy as np
import pylab as plt
class IozoneResult(np.ndarray):
def __new__(subtype, shape, dtype=float, buffer=None, offset=0, strides=None, order=None, name=None,fileSizes=None):
obj = super(IozoneResult, subtype).__new__(subtype, shape, dtype, buffer, offset, strides, order)