Package net.sourceforge.parus.ntrviewer.info

Examples of net.sourceforge.parus.ntrviewer.info.NetworkInfo.delayBetweenOneAndOthers()


        NetworkInfo model = controller.getModel();
        if ( model != null ) {
            data.clear();
            int[] indices = processorList.getSelectedIndices();
            for ( int processorNumber : indices ) {
                double[] delays = model.delayBetweenOneAndOthers( messageLengthSlider.getValue(), processorNumber );
                for ( int i = 0; i < delays.length; i++ ) {
                    data.addValue( delays[i] * 1000, model.getProcessorName( processorNumber ), model.getProcessorName( i ) );
                }
            }
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.