Package avrora.util.profiling

Examples of avrora.util.profiling.Distribution


        analyzeStates();
    }

    private void analyzeAggregationPoints() {
        Iterator i = graph.getStateCache().getStateIterator();
        Distribution sizeDist = new Distribution("Set Size Statistics", "Number of sets",
                "Aggregate size", "Distribution of Set Size");
        while (i.hasNext()) {
            StateCache.State state = (StateCache.State)i.next();
            StateCache.Set stateSet = state.info.stateSet;
            int size = stateSet == null ? 0 : stateSet.size();
            sizeDist.record(size);
        }
        sizeDist.processData();
        sizeDist.textReport();
    }
View Full Code Here


        sizeDist.textReport();
    }

    private void analyzeStates() {
        Iterator i = graph.getStateCache().getStateIterator();
        Distribution pcDist = new Distribution("Distribution of program states over PC", "Number of unique instructions", null, "Distribution");
        while (i.hasNext()) {
            StateCache.State s = (StateCache.State)i.next();
            pcDist.record(s.getPC());

        }
        pcDist.processData();
        pcDist.textReport();
    }
View Full Code Here

        this.cumul = 0;
        this.cumul_sqr = 0;
        this.max = 0;
        this.min = Long.MAX_VALUE;
                if ( DISTRIBUTION.get() )
                    distrib = new Distribution("trip time "
                            +StringUtil.addrToString(start)+" -to- "
                            +StringUtil.addrToString(end), "Trips", "Total Time", "Distribution");
            }
View Full Code Here

TOP

Related Classes of avrora.util.profiling.Distribution

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.