Go backward to RT_Argument : Runtime EnvironmentGo up to Types |
RT_Result
: Execution Statisticsclass
RT_Result {
public:
}
init
() print
() Specification: init
fills res
with statistical information about the currently executing
RT++ program. print
writes the contents of res to
the standard output stream.
A pointer to such a structure is used in rt_main
to return statistical information about the execution of an
RT++ program after the program has terminated.
The components of the structure have the following interpretation:
rt_main
, ret_code contains the return code r of the
program as returned by the main function, respectively by a call of
rt_exit
(r)
. The return code is set to , if
rt_abort
was called during program execution.
If the structure is defined by a call of
init
, ret_code is set to .