| 1 |
.\" -*- nroff -*- |
| 2 |
.TH TAPSET::TASK_TIME 3stap "October 2025" "SystemTap Tapset Reference" |
| 3 |
.SH NAME |
| 4 |
tapset::task_time \- systemtap task_time tapset |
| 5 |
|
| 6 |
.SH DESCRIPTION |
| 7 |
|
| 8 |
Task time query and utility functions provide information about |
| 9 |
the time resource usage of the current task. These functions provide |
| 10 |
information about the user time and system time of the current |
| 11 |
task. And provide utility functions to turn the reported times |
| 12 |
into miliseconds and create human readable string representations |
| 13 |
of task time used. The reported times are approximates and should |
| 14 |
be used for "coarse grained" measurements only. The reported user |
| 15 |
and system time are only for the current task, not for the process |
| 16 |
as a whole nor of any time spend by children of the current task. |
| 17 |
|
| 18 |
.TP |
| 19 |
.P |
| 20 |
.TP |
| 21 |
.B task_utime |
| 22 |
User time of the task |
| 23 |
.IP |
| 24 |
See |
| 25 |
.IR function::task_utime (3stap) |
| 26 |
for details. |
| 27 |
.P |
| 28 |
.TP |
| 29 |
.B task_utime |
| 30 |
User time of the task |
| 31 |
.IP |
| 32 |
See |
| 33 |
.IR function::task_utime (3stap) |
| 34 |
for details. |
| 35 |
.P |
| 36 |
.TP |
| 37 |
.B task_stime |
| 38 |
System time of the task |
| 39 |
.IP |
| 40 |
See |
| 41 |
.IR function::task_stime (3stap) |
| 42 |
for details. |
| 43 |
.P |
| 44 |
.TP |
| 45 |
.B task_stime |
| 46 |
System time of the task |
| 47 |
.IP |
| 48 |
See |
| 49 |
.IR function::task_stime (3stap) |
| 50 |
for details. |
| 51 |
.P |
| 52 |
.TP |
| 53 |
.B task_start_time |
| 54 |
Start time of the given task |
| 55 |
.IP |
| 56 |
See |
| 57 |
.IR function::task_start_time (3stap) |
| 58 |
for details. |
| 59 |
.P |
| 60 |
.TP |
| 61 |
.B cputime_to_msecs |
| 62 |
Translates the given cputime into milliseconds |
| 63 |
.IP |
| 64 |
See |
| 65 |
.IR function::cputime_to_msecs (3stap) |
| 66 |
for details. |
| 67 |
.P |
| 68 |
.TP |
| 69 |
.B cputime_to_usecs |
| 70 |
Translates the given cputime into microseconds |
| 71 |
.IP |
| 72 |
See |
| 73 |
.IR function::cputime_to_usecs (3stap) |
| 74 |
for details. |
| 75 |
.P |
| 76 |
.TP |
| 77 |
.B msecs_to_string |
| 78 |
Human readable string for given milliseconds |
| 79 |
.IP |
| 80 |
See |
| 81 |
.IR function::msecs_to_string (3stap) |
| 82 |
for details. |
| 83 |
.P |
| 84 |
.TP |
| 85 |
.B usecs_to_string |
| 86 |
Human readable string for given microseconds |
| 87 |
.IP |
| 88 |
See |
| 89 |
.IR function::usecs_to_string (3stap) |
| 90 |
for details. |
| 91 |
.P |
| 92 |
.TP |
| 93 |
.B nsecs_to_string |
| 94 |
Human readable string for given nanoseconds |
| 95 |
.IP |
| 96 |
See |
| 97 |
.IR function::nsecs_to_string (3stap) |
| 98 |
for details. |
| 99 |
.P |
| 100 |
.TP |
| 101 |
.B cputime_to_string |
| 102 |
Human readable string for given cputime |
| 103 |
.IP |
| 104 |
See |
| 105 |
.IR function::cputime_to_string (3stap) |
| 106 |
for details. |
| 107 |
.P |
| 108 |
.TP |
| 109 |
.B task_time_string |
| 110 |
Human readable string of task time usage |
| 111 |
.IP |
| 112 |
See |
| 113 |
.IR function::task_time_string (3stap) |
| 114 |
for details. |
| 115 |
.P |
| 116 |
.TP |
| 117 |
.B task_time_string_tid |
| 118 |
Human readable string of task time usage |
| 119 |
.IP |
| 120 |
See |
| 121 |
.IR function::task_time_string_tid (3stap) |
| 122 |
for details. |
| 123 |
|
| 124 |
.SH SEE ALSO |
| 125 |
.BR |
| 126 |
.IR \%function::task_utime (3stap), |
| 127 |
.BR |
| 128 |
.IR \%function::task_stime (3stap), |
| 129 |
.BR |
| 130 |
.IR \%function::task_start_time (3stap), |
| 131 |
.BR |
| 132 |
.IR \%function::cputime_to_msecs (3stap), |
| 133 |
.BR |
| 134 |
.IR \%function::cputime_to_usecs (3stap), |
| 135 |
.BR |
| 136 |
.IR \%function::msecs_to_string (3stap), |
| 137 |
.BR |
| 138 |
.IR \%function::usecs_to_string (3stap), |
| 139 |
.BR |
| 140 |
.IR \%function::nsecs_to_string (3stap), |
| 141 |
.BR |
| 142 |
.IR \%function::cputime_to_string (3stap), |
| 143 |
.BR |
| 144 |
.IR \%function::task_time_string (3stap), |
| 145 |
.BR |
| 146 |
.IR \%function::task_time_string_tid (3stap), |
| 147 |
.BR |
| 148 |
.IR \%stap (1), |
| 149 |
.IR \%stapprobes (3stap) |