Class RouterTimeout

java.lang.Object
uk.ac.manchester.spinnaker.messages.model.RouterTimeout

public final class RouterTimeout
extends Object
A router timeout, originally stored as an 8-bit unsigned float.
Author:
Donal Fellows
  • Field Details

    • INF

      public static final RouterTimeout INF
      An infinite timeout.
    • mantissa

      public final int mantissa
      The mantissa of the timeout.
    • exponent

      public final int exponent
      The exponent of the timeout.
  • Constructor Details

    • RouterTimeout

      public RouterTimeout​(int mantissa, int exponent)
      Parameters:
      mantissa - The mantissa of the value; only low 4 bits used.
      exponent - The exponent of the value; only low 4 bits used.
  • Method Details