File: tapset%3A%3Atask_time.3stap

package info (click to toggle)
systemtap 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 36,436 kB
  • sloc: cpp: 72,388; ansic: 58,430; xml: 47,797; exp: 40,417; sh: 10,793; python: 2,759; perl: 2,252; tcl: 1,305; makefile: 1,119; lisp: 105; java: 102; awk: 101; asm: 91; sed: 16
file content (149 lines) | stat: -rw-r--r-- 2,919 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
.\" -*- nroff -*-
.TH TAPSET::TASK_TIME 3stap "October 2018" "SystemTap Tapset Reference"
.SH NAME
tapset::task_time \- systemtap task_time tapset
 
.SH DESCRIPTION

 Task time query and utility functions provide information about
 the time resource usage of the current task. These functions provide
 information about the user time and system time of the current
 task. And provide utility functions to turn the reported times
 into miliseconds and create human readable string representations
 of task time used. The reported times are approximates and should
 be used for "coarse grained" measurements only. The reported user
 and system time are only for the current task, not for the process
 as a whole nor of any time spend by children of the current task.

.TP
.P
.TP
.B task_utime 
User time of the task
.IP
See 
.IR function::task_utime (3stap)
 for details.
.P
.TP
.B task_utime 
User time of the task
.IP
See 
.IR function::task_utime (3stap)
 for details.
.P
.TP
.B task_stime 
System time of the task
.IP
See 
.IR function::task_stime (3stap)
 for details.
.P
.TP
.B task_stime 
System time of the task
.IP
See 
.IR function::task_stime (3stap)
 for details.
.P
.TP
.B task_start_time 
Start time of the given task
.IP
See 
.IR function::task_start_time (3stap)
 for details.
.P
.TP
.B cputime_to_msecs 
Translates the given cputime into milliseconds
.IP
See 
.IR function::cputime_to_msecs (3stap)
 for details.
.P
.TP
.B cputime_to_usecs 
Translates the given cputime into microseconds
.IP
See 
.IR function::cputime_to_usecs (3stap)
 for details.
.P
.TP
.B msecs_to_string 
Human readable string for given milliseconds
.IP
See 
.IR function::msecs_to_string (3stap)
 for details.
.P
.TP
.B usecs_to_string 
Human readable string for given microseconds
.IP
See 
.IR function::usecs_to_string (3stap)
 for details.
.P
.TP
.B nsecs_to_string 
Human readable string for given nanoseconds
.IP
See 
.IR function::nsecs_to_string (3stap)
 for details.
.P
.TP
.B cputime_to_string 
Human readable string for given cputime
.IP
See 
.IR function::cputime_to_string (3stap)
 for details.
.P
.TP
.B task_time_string 
Human readable string of task time usage
.IP
See 
.IR function::task_time_string (3stap)
 for details.
.P
.TP
.B task_time_string_tid 
Human readable string of task time usage
.IP
See 
.IR function::task_time_string_tid (3stap)
 for details.

.SH SEE ALSO
.BR
.IR \%function::task_utime (3stap),
.BR
.IR \%function::task_stime (3stap),
.BR
.IR \%function::task_start_time (3stap),
.BR
.IR \%function::cputime_to_msecs (3stap),
.BR
.IR \%function::cputime_to_usecs (3stap),
.BR
.IR \%function::msecs_to_string (3stap),
.BR
.IR \%function::usecs_to_string (3stap),
.BR
.IR \%function::nsecs_to_string (3stap),
.BR
.IR \%function::cputime_to_string (3stap),
.BR
.IR \%function::task_time_string (3stap),
.BR
.IR \%function::task_time_string_tid (3stap),
.BR
.IR \%stap (1),
.IR \%stapprobes (3stap)