Exemple #1
0
def main():
    records = libplot.parse()

    for bytes in libplot.unique(records, 'bytes'):
        plot(records, bytes)

    pylab.show()
Exemple #2
0
def main():
    records = libplot.parse()

    for function in libplot.unique(records, 'function'):
        for bytes in libplot.unique(records, 'bytes'):
            plot(records, bytes, function)

    pylab.show()
Exemple #3
0
def main():
    records = libplot.parse()

    for function in libplot.unique(records, 'function'):
        for bytes in libplot.unique(records, 'bytes'):
            plot(records, bytes, function)

    pylab.show()
Exemple #4
0
def main():
    records = libplot.parse()

    functions = libplot.unique(records, 'function')
    alignments = libplot.unique(records, ('src_alignment', 'dst_alignment'))

    for function in functions:
        for alignment in alignments:
            for scale in [1, 2.5]:
                if plot(records, function, alignment, scale):
                    pylab.savefig('sizes-%s-%02d-%02d-%.1f.png' % (function, alignment[0], alignment[1], scale), dpi=72)

    pylab.show()
Exemple #5
0
def main():
    records = libplot.parse()

    functions = libplot.unique(records, 'function')
    alignments = libplot.unique(records, ('src_alignment', 'dst_alignment'))

    for function in functions:
        for alignment in alignments:
            for scale in [1, 2.5]:
                if plot(records, function, alignment, scale):
                    pylab.savefig(
                        'sizes-%s-%02d-%02d-%.1f.png' %
                        (function, alignment[0], alignment[1], scale),
                        dpi=72)

    pylab.show()