TAPSET::TASK\_TIME(3stap) TAPSET::TASK\_TIME(3stap)

# [NAME](#NAME)

tapset::task\_time - systemtap task\_time tapset

# [DESCRIPTION](#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.

[**task\_utime**](#task_utime)

User time of the task

See [*function::task\_utime*(3stap)](/man/enterprise-packages/systemtap/function::task_utime.3stap)  
for details.

[**task\_utime**](#task_utime~2)

User time of the task

See [*function::task\_utime*(3stap)](/man/enterprise-packages/systemtap/function::task_utime.3stap)  
for details.

[**task\_stime**](#task_stime)

System time of the task

See [*function::task\_stime*(3stap)](/man/enterprise-packages/systemtap/function::task_stime.3stap)  
for details.

[**task\_stime**](#task_stime~2)

System time of the task

See [*function::task\_stime*(3stap)](/man/enterprise-packages/systemtap/function::task_stime.3stap)  
for details.

[**task\_start\_time**](#task_start_time)

Start time of the given task

See [*function::task\_start\_time*(3stap)](/man/enterprise-packages/systemtap/function::task_start_time.3stap)  
for details.

[**cputime\_to\_msecs**](#cputime_to_msecs)

Translates the given cputime into milliseconds

See [*function::cputime\_to\_msecs*(3stap)](/man/enterprise-packages/systemtap/function::cputime_to_msecs.3stap)  
for details.

[**cputime\_to\_usecs**](#cputime_to_usecs)

Translates the given cputime into microseconds

See [*function::cputime\_to\_usecs*(3stap)](/man/enterprise-packages/systemtap/function::cputime_to_usecs.3stap)  
for details.

[**msecs\_to\_string**](#msecs_to_string)

Human readable string for given milliseconds

See [*function::msecs\_to\_string*(3stap)](/man/enterprise-packages/systemtap/function::msecs_to_string.3stap)  
for details.

[**usecs\_to\_string**](#usecs_to_string)

Human readable string for given microseconds

See [*function::usecs\_to\_string*(3stap)](/man/enterprise-packages/systemtap/function::usecs_to_string.3stap)  
for details.

[**nsecs\_to\_string**](#nsecs_to_string)

Human readable string for given nanoseconds

See [*function::nsecs\_to\_string*(3stap)](/man/enterprise-packages/systemtap/function::nsecs_to_string.3stap)  
for details.

[**cputime\_to\_string**](#cputime_to_string)

Human readable string for given cputime

See [*function::cputime\_to\_string*(3stap)](/man/enterprise-packages/systemtap/function::cputime_to_string.3stap)  
for details.

[**task\_time\_string**](#task_time_string)

Human readable string of task time usage

See [*function::task\_time\_string*(3stap)](/man/enterprise-packages/systemtap/function::task_time_string.3stap)  
for details.

[**task\_time\_string\_tid**](#task_time_string_tid)

Human readable string of task time usage

See [*function::task\_time\_string\_tid*(3stap)](/man/enterprise-packages/systemtap/function::task_time_string_tid.3stap)  
for details.

# [SEE ALSO](#SEE_ALSO)

[*function::task\_utime*(3stap)](/man/enterprise-packages/systemtap/function::task_utime.3stap), [*function::task\_stime*(3stap)](/man/enterprise-packages/systemtap/function::task_stime.3stap), [*function::task\_start\_time*(3stap)](/man/enterprise-packages/systemtap/function::task_start_time.3stap), [*function::cputime\_to\_msecs*(3stap)](/man/enterprise-packages/systemtap/function::cputime_to_msecs.3stap), [*function::cputime\_to\_usecs*(3stap)](/man/enterprise-packages/systemtap/function::cputime_to_usecs.3stap), [*function::msecs\_to\_string*(3stap)](/man/enterprise-packages/systemtap/function::msecs_to_string.3stap), [*function::usecs\_to\_string*(3stap)](/man/enterprise-packages/systemtap/function::usecs_to_string.3stap), [*function::nsecs\_to\_string*(3stap)](/man/enterprise-packages/systemtap/function::nsecs_to_string.3stap), [*function::cputime\_to\_string*(3stap)](/man/enterprise-packages/systemtap/function::cputime_to_string.3stap), [*function::task\_time\_string*(3stap)](/man/enterprise-packages/systemtap/function::task_time_string.3stap), [*function::task\_time\_string\_tid*(3stap)](/man/enterprise-packages/systemtap/function::task_time_string_tid.3stap), [*stap*(1)](/man/enterprise-packages/systemtap/stap.1), [*stapprobes*(3stap)](/man/enterprise-packages/systemtap/stapprobes.3stap)

September 2026 SystemTap Tapset Reference

---

Document: tapset::task_time(3stap) from systemtap 5.6-r1 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
