edu.cmu.emulator.controlComm
Class JitterTest

java.lang.Object
  extended by RealtimeThread
      extended by edu.cmu.emulator.controlComm.JitterTest

public class JitterTest
extends RealtimeThread


Field Summary
protected  long msecs
           
protected  int nsecs
           
(package private)  Clock refRTClock
           
protected  int trials
           
protected  long usecs
           
 
Constructor Summary
JitterTest(Clock rtClock, long usecs, int trials)
           
 
Method Summary
static void dumpTest(String auxFPGAIP, String[] args)
          The dumpTest method sends a constant stream of spaced packets to see what the actual timing and delivery is like.
static void jitterTest(long usecs, int trials)
          The jitterTest method tries to schedule a sequence of pricesly-spaced events to evaluate system scheduling jitter.
static void main(String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

usecs

protected long usecs

msecs

protected long msecs

nsecs

protected int nsecs

trials

protected int trials

refRTClock

Clock refRTClock
Constructor Detail

JitterTest

JitterTest(Clock rtClock,
           long usecs,
           int trials)
Method Detail

dumpTest

public static void dumpTest(String auxFPGAIP,
                            String[] args)
                     throws IOException
The dumpTest method sends a constant stream of spaced packets to see what the actual timing and delivery is like.

Parameters:
args - Currently unused
Throws:
IOException - Passed on from CommSender()

jitterTest

public static void jitterTest(long usecs,
                              int trials)
The jitterTest method tries to schedule a sequence of pricesly-spaced events to evaluate system scheduling jitter. No attempt to actually send messages is made.

Parameters:
usecs - Microseconds to sleep between measurements
trials - Number of trials to attempt

run

public void run()

main

public static void main(String[] args)


Copyright © 2013. All Rights Reserved.