1TAPSET::TASK_TIME(3stap) TAPSET::TASK_TIME(3stap)
2
3
4
6 tapset::task_time - systemtap task_time tapset
7
8
10 Task time query and utility functions provide information about
11 the time resource usage of the current task. These functions provide
12 information about the user time and system time of the current
13 task. And provide utility functions to turn the reported times
14 into miliseconds and create human readable string representations
15 of task time used. The reported times are approximates and should
16 be used for "coarse grained" measurements only. The reported user
17 and system time are only for the current task, not for the process
18 as a whole nor of any time spend by children of the current task.
19
20
21
22 task_utime
23 User time of the task
24
25 See function::task_utime(3stap)
26 for details.
27
28 task_utime
29 User time of the task
30
31 See function::task_utime(3stap)
32 for details.
33
34 task_stime
35 System time of the task
36
37 See function::task_stime(3stap)
38 for details.
39
40 task_stime
41 System time of the task
42
43 See function::task_stime(3stap)
44 for details.
45
46 task_start_time
47 Start time of the given task
48
49 See function::task_start_time(3stap)
50 for details.
51
52 cputime_to_msecs
53 Translates the given cputime into milliseconds
54
55 See function::cputime_to_msecs(3stap)
56 for details.
57
58 cputime_to_usecs
59 Translates the given cputime into microseconds
60
61 See function::cputime_to_usecs(3stap)
62 for details.
63
64 msecs_to_string
65 Human readable string for given milliseconds
66
67 See function::msecs_to_string(3stap)
68 for details.
69
70 usecs_to_string
71 Human readable string for given microseconds
72
73 See function::usecs_to_string(3stap)
74 for details.
75
76 nsecs_to_string
77 Human readable string for given nanoseconds
78
79 See function::nsecs_to_string(3stap)
80 for details.
81
82 cputime_to_string
83 Human readable string for given cputime
84
85 See function::cputime_to_string(3stap)
86 for details.
87
88 task_time_string
89 Human readable string of task time usage
90
91 See function::task_time_string(3stap)
92 for details.
93
94 task_time_string_tid
95 Human readable string of task time usage
96
97 See function::task_time_string_tid(3stap)
98 for details.
99
100
102 function::task_utime(3stap), function::task_stime(3stap),
103 function::task_start_time(3stap), function::cputime_to_msecs(3stap),
104 function::cputime_to_usecs(3stap), function::msecs_to_string(3stap),
105 function::usecs_to_string(3stap), function::nsecs_to_string(3stap),
106 function::cputime_to_string(3stap), function::task_time_string(3stap),
107 function::task_time_string_tid(3stap), stap(1), stapprobes(3stap)
108
109
110
111SystemTap Tapset Reference November 2020 TAPSET::TASK_TIME(3stap)