File Trace Timestamps

If you are directing file trace output to an error file, you can elect to include timestamp information. When this option is enabled, a timestamp is placed at the beginning of every line in the trace file. (When you are debugging a problem, it is sometime helpful to know the exact time of each file operation.) The format of the timestamp is: HH:MM:SS.mmmmmm, where mmmmmm is the finest resolution that the runtime can obtain from the system.

There are three ways to enable timestamps in the trace file.

  1. In the debugger, before you start the program with the g command, enter:
    t timestamp
  2. Before you start the program, in the runtime configuration file set the FILE_TRACE_TIMESTAMP variable to 1 (on, true, yes). This variable is set to 0 (off, false, no), by default.

    When set in the appropriate server configuration file, FILE_TRACE_TIMESTAMP can also be used with AcuServer and AcuConnect (see the associated product documentation for more information).

  3. Before you start the program, set the TRACE_STYLE variable to TIMESTAMP in the configuration file .

Timestamp information is included only when file trace information is directed to a file.

Timestamp output can add significant file I/O overhead and may have a noticeable impact on performance.