Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

org.openquark.cal.runtime
Class DebugSupport.InternalValueStats

java.lang.Object
  extended by org.openquark.cal.runtime.DebugSupport.InternalValueStats
Enclosing class:
DebugSupport

public static final class DebugSupport.InternalValueStats
extends Object

Immutable value class holding statistical information gathered from a CalValue The statistics/information gathered by this class are for debugging purposes only and should not be relied upon in production code. They are subject to change and their precise value will in general depend on the particular machine type (lecc or g) used.

Author:
Bo Ilic

Method Summary
 int getNDistinctIndirectionNodes()
          This value is for debugging purposes only and is subject to change.
 int getNDistinctNodes()
          This value is for debugging purposes only and is subject to change.
 int getNSharedNodes()
          This value is for debugging purposes only and is subject to change.
static DebugSupport.InternalValueStats make(CalValue calValue)
          Creates a DebugNodeInfo object which gathers statistics from the argument CalValue.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getNDistinctNodes

public int getNDistinctNodes()
This value is for debugging purposes only and is subject to change.

Returns:
The number of distinct nodes in the graph of nodes represented by a given CalValue. The distinct node count provides a measure of how much space the CalValue is taking. Nodes which are shared and appear multiple times within the graph are only counted once.

getNDistinctIndirectionNodes

public int getNDistinctIndirectionNodes()
This value is for debugging purposes only and is subject to change.

Returns:
the number of distinct indirection nodes in the graph of nodes represented by a given CalValue. The distinct indirection node count provides a measure of how much uncompacted or wasted space the CalValue is taking. Indirection nodes which are shared and appear multiple times within the graph are only counted once.

getNSharedNodes

public int getNSharedNodes()
This value is for debugging purposes only and is subject to change.

Returns:
the number of nodes in the graph a given CalValue that are shared within the graph itself.

make

public static final DebugSupport.InternalValueStats make(CalValue calValue)
Creates a DebugNodeInfo object which gathers statistics from the argument CalValue. The CalValue node is not modified in any way by calling this method.

Parameters:
calValue -
Returns:
a DebugNodeInfo object gathering statistics based from the given argument CalValue.

toString

public String toString()
Overrides:
toString in class Object

Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

Copyright © 2007 Business Objects. All rights reserved.