jaulib v1.1.2-115-g39e35fd
Jau Support Library (C++, Java, ..)
Static Public Member Functions | List of all members
org.jau.io.PrintUtil Class Reference
Inheritance diagram for org.jau.io.PrintUtil:
Collaboration diagram for org.jau.io.PrintUtil:

Static Public Member Functions

static void fprintf_td (final PrintStream out, final String format, final Object ... args)
 Convenient PrintStream#printf(String, Object...) invocation, prepending the elapsedTimeMillis() timestamp. More...
 
static void println (final PrintStream out, final String msg)
 Convenient PrintStream#println(String) invocation, prepending the elapsedTimeMillis() timestamp. More...
 
static void print (final PrintStream out, final String msg)
 Convenient PrintStream#print(String) invocation, prepending the elapsedTimeMillis() timestamp. More...
 
- Static Public Member Functions inherited from org.jau.sys.Clock
static Instant getMonotonicTime ()
 Returns current monotonic time since Unix Epoch 00:00:00 UTC on 1970-01-01. More...
 
static Instant getWallClockTime ()
 Returns current wall-clock real-time since Unix Epoch 00:00:00 UTC on 1970-01-01. More...
 
static native long currentTimeMillis ()
 Returns current monotonic time in milliseconds. More...
 
static native long wallClockSeconds ()
 Returns current wall-clock system time of day in seconds since Unix Epoch 00:00:00 UTC on 1 January 1970. More...
 
static long startupTimeMillis ()
 Returns the startup time in monotonic time in milliseconds of the native module. More...
 
static long elapsedTimeMillis ()
 Returns current elapsed monotonic time in milliseconds since module startup, see startupTimeMillis(). More...
 
static long elapsedTimeMillis (final long current_ts)
 Returns elapsed monotonic time in milliseconds since module startup comparing against the given timestamp, see startupTimeMillis(). More...
 

Detailed Description

Definition at line 30 of file PrintUtil.java.

Member Function Documentation

◆ fprintf_td()

static void org.jau.io.PrintUtil.fprintf_td ( final PrintStream  out,
final String  format,
final Object ...  args 
)
static

Convenient PrintStream#printf(String, Object...) invocation, prepending the elapsedTimeMillis() timestamp.

Parameters
outthe output stream
formatthe format
argsthe arguments

Definition at line 37 of file PrintUtil.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print()

static void org.jau.io.PrintUtil.print ( final PrintStream  out,
final String  msg 
)
static

Convenient PrintStream#print(String) invocation, prepending the elapsedTimeMillis() timestamp.

Parameters
outthe output stream
msgthe string message

Definition at line 54 of file PrintUtil.java.

Here is the call graph for this function:

◆ println()

static void org.jau.io.PrintUtil.println ( final PrintStream  out,
final String  msg 
)
static

Convenient PrintStream#println(String) invocation, prepending the elapsedTimeMillis() timestamp.

Parameters
outthe output stream
msgthe string message

Definition at line 46 of file PrintUtil.java.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: