Lines Matching full:routine

30 Routine calls or statement executions can be measured by having a
37 A call of the monitoring routine has an overhead comparable with a
38 call of a regular routine, and is therefore only suited
39 to profiling on a routine by routine basis.
40 However, the monitoring routine solution has certain advantages.
41 Whatever counters are needed by the monitoring routine can be
42 managed by the monitoring routine itself, rather than being
44 In particular, a monitoring routine can easily be called from separately
53 monitoring routine in the prologue for each routine.
54 Use of the monitoring routine requires no planning on part of a
55 programmer other than to request that augmented routine
60 each profiled routine, and the arcs of the dynamic call graph
69 Thus, the monitoring routine must not produce trace output each
74 Similarly, the monitoring routine can not do the analysis of
91 The second part is the monitoring routine invoked from the
92 prologue of each profiled routine.
95 The monitoring routine is discussed in detail in the following sections.
98 The \fBgprof\fP monitoring routine counts the number of times
99 each profiled routine is called.
100 The monitoring routine also records the arc in the call graph
101 that activated the profiled routine.
103 rather than with the routine.
105 on arcs directed into that routine.
106 In a machine-dependent fashion, the monitoring routine notes its
108 This address is in the prologue of some profiled routine that is
110 The monitoring routine also discovers the return address for that
111 routine, thus identifying the call site, or source of the arc.
114 For example, if a routine A calls a routine B, A is the caller,
116 The prologue of B will include a call to the monitoring routine
120 One can not afford to have the monitoring routine output tracing
122 Therefore, the monitoring routine maintains a table of all the
125 This table is accessed once per routine call.
139 routine.
153 routine.
155 will not call the monitoring routine as part of their prologue,
162 Thus the monitoring routine may know the destination of an arc
173 One method measures the execution time of a routine by measuring
174 the elapsed time from routine entry to routine exit.
198 As with routine call tracing, the monitoring routine can not
205 This facility is enabled by our monitoring routine.
209 routine require the same amount of time to execute.
211 (or worse, some call sites) always invoke a routine
213 than the average time for that routine.