|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.util.TermUtil
| Constructor Summary | |
TermUtil()
|
|
| Method Summary | |
static void |
printSeparator(int width)
The printSeparator() method prints a horizontal bar on the terminal
that helps to separate different sections of textual output. |
static void |
printSeparator(int width,
java.lang.String header)
The printSeparator() method prints a horizontal bar on the terminal
that helps to separate different sections of textual output. |
static void |
printThinSeparator(int width)
The printThinSeparator() method prints a horizontal bar on the terminal
that helps to separate different sections of textual output. |
static void |
reportProportion(java.lang.String name,
long val,
long total,
java.lang.String units)
The reportProportion() method is a simply utility to print out a quantity's name
(such as "Number of instructions executed", the value (such as 2002), and the units (such as
cycles) in a colorized and standardized way. |
static void |
reportQuantity(java.lang.String name,
float val,
java.lang.String units)
The reportQuantity() method is a simply utility to print out a quantity's name
(such as "Number of instructions executed", the value (such as 2002), and the units (such as
cycles) in a colorized and standardized way. |
static void |
reportQuantity(java.lang.String name,
long val,
java.lang.String units)
The reportQuantity() method is a simply utility to print out a quantity's name
(such as "Number of instructions executed", the value (such as 2002), and the units (such as
cycles) in a colorized and standardized way. |
static void |
reportQuantity(java.lang.String name,
java.lang.String val,
java.lang.String units)
The reportQuantity() method is a simply utility to print out a quantity's name
(such as "Number of instructions executed", the value (such as 2002), and the units (such as
cycles) in a colorized and standardized way. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TermUtil()
| Method Detail |
public static void reportQuantity(java.lang.String name,
long val,
java.lang.String units)
reportQuantity() method is a simply utility to print out a quantity's name
(such as "Number of instructions executed", the value (such as 2002), and the units (such as
cycles) in a colorized and standardized way.
name - the name of the quantity as a stringval - the value of the quantity as a long integerunits - the name of the units as a string
public static void reportProportion(java.lang.String name,
long val,
long total,
java.lang.String units)
reportProportion() method is a simply utility to print out a quantity's name
(such as "Number of instructions executed", the value (such as 2002), and the units (such as
cycles) in a colorized and standardized way.
name - the name of the quantity as a stringval - the value of the quantity as a long integerunits - the name of the units as a string
public static void reportQuantity(java.lang.String name,
float val,
java.lang.String units)
reportQuantity() method is a simply utility to print out a quantity's name
(such as "Number of instructions executed", the value (such as 2002), and the units (such as
cycles) in a colorized and standardized way.
name - the name of the quantity as a stringval - the value of the quantity as a floating point numberunits - the name of the units as a string
public static void reportQuantity(java.lang.String name,
java.lang.String val,
java.lang.String units)
reportQuantity() method is a simply utility to print out a quantity's name
(such as "Number of instructions executed", the value (such as 2002), and the units (such as
cycles) in a colorized and standardized way.
name - the name of the quantity as a stringval - the value of the quantity as a stringunits - the name of the units as a stringpublic static void printSeparator(int width)
printSeparator() method prints a horizontal bar on the terminal
that helps to separate different sections of textual output. This implementation
uses the '=' character, providing a double-thick separator line.
width - the width of the horizontal separator barpublic static void printThinSeparator(int width)
printThinSeparator() method prints a horizontal bar on the terminal
that helps to separate different sections of textual output. This implementation
uses the '-' character, providing a thinner separator line for separating subsections
of text output.
width - the width of the horizontal separator bar
public static void printSeparator(int width,
java.lang.String header)
printSeparator() method prints a horizontal bar on the terminal
that helps to separate different sections of textual output. This implementation
uses the '=' character, providing a double-thick separator line and embeds a
header string within the separating line.
width - the width of the horizontal separator barheader - the string to embed in the separator line
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||