

            t$entr (6) --- profiling routine called on subprogram entry  03/25/82


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 subroutine t$entr (routine)
                 integer routine

                 Library:  vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'T$entr'  records  the  real,  cpu,  and paging times of the
                 current process upon subprogram entry.  This information  is
                 later modified by 't$exit' to reflect only the time spent in
                 the  particular subprogram, which is then added to the total
                 for the subprogram.

                 'Routine' is the number of  the  subprogram  being  entered;
                 subprograms  are numbered consecutively beginning with 1 for
                 the main program.

                 'T$entr' should be called explicitly  only  by  those  users
                 profiling Fortran programs with hand-inserted code, in which
                 case  a  call  to  't$entr'  should  be the first executable
                 statement of any profiled routine.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 A call to 't$time' gathers the necessary information,  which
                 is   then   stacked   in   a  stack  provided  by  the  user
                 (automatically, in the case of Ratfor programs).


            _C_a_l_l_s

                 Primos tnou, swt, t$time


            _B_u_g_s

                 Stack overflow terminates the program.


            _S_e_e _A_l_s_o

                 t$exit (6), t$clup (6), t$time (6), t$trac (6), rp (1)












            t$entr (6)                    - 1 -                    t$entr (6)


