Package se.sics.mspsim.util

Examples of se.sics.mspsim.util.StackMonitor


  }
 
  private void openStackFrame() {
      if (jw == null) {
          jw = openFrame("Stack Monitor");
          StackMonitor sm = new StackMonitor(cpu);
          DataSourceSampler dss = new DataSourceSampler(cpu);
          TimeSeries ts = new TimeSeries("Max Stack", Millisecond.class);
          ts.setMaximumItemCount(200);
          addTimeSeries(ts);
          dss.addDataSource(sm.getMaxSource(), ts);
          ts = new TimeSeries("Stack", Millisecond.class);
          ts.setMaximumItemCount(200);
          addTimeSeries(ts);
          dss.addDataSource(sm.getSource(), ts);
      }
  }
View Full Code Here


        }
      });

      ch.registerCommand("stackprof", new BasicCommand("Start stack profiler", "") {
          public int executeCommand(CommandContext context) {
              new StackMonitor(cpu);
              return 0;
          }
      });
     
//      ch.registerCommand("irqprofile", new BasicCommand("show interrupt profile", "") {
View Full Code Here

TOP

Related Classes of se.sics.mspsim.util.StackMonitor

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.