---
name: "tapset::task_time"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tapset::task_time"
---

# tapset::task\_time(3stap)

systemtap task\_time tapset

## NAME

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

## 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**

  User time of the task

-

  See  [*function::task\_utime*(3stap)](/function::task_utime/3stap.md)\
    for details.

- **task\_utime**

  User time of the task

-

  See  [*function::task\_utime*(3stap)](/function::task_utime/3stap.md)\
    for details.

- **task\_stime**

  System time of the task

-

  See  [*function::task\_stime*(3stap)](/function::task_stime/3stap.md)\
    for details.

- **task\_stime**

  System time of the task

-

  See  [*function::task\_stime*(3stap)](/function::task_stime/3stap.md)\
    for details.

- **task\_start\_time**

  Start time of the given task

-

  See  [*function::task\_start\_time*(3stap)](/function::task_start_time/3stap.md)\
    for details.

- **cputime\_to\_msecs**

  Translates the given cputime into milliseconds

-

  See  [*function::cputime\_to\_msecs*(3stap)](/function::cputime_to_msecs/3stap.md)\
    for details.

- **cputime\_to\_usecs**

  Translates the given cputime into microseconds

-

  See  [*function::cputime\_to\_usecs*(3stap)](/function::cputime_to_usecs/3stap.md)\
    for details.

- **msecs\_to\_string**

  Human readable string for given milliseconds

-

  See  [*function::msecs\_to\_string*(3stap)](/function::msecs_to_string/3stap.md)\
    for details.

- **usecs\_to\_string**

  Human readable string for given microseconds

-

  See  [*function::usecs\_to\_string*(3stap)](/function::usecs_to_string/3stap.md)\
    for details.

- **nsecs\_to\_string**

  Human readable string for given nanoseconds

-

  See  [*function::nsecs\_to\_string*(3stap)](/function::nsecs_to_string/3stap.md)\
    for details.

- **cputime\_to\_string**

  Human readable string for given cputime

-

  See  [*function::cputime\_to\_string*(3stap)](/function::cputime_to_string/3stap.md)\
    for details.

- **task\_time\_string**

  Human readable string of task time usage

-

  See  [*function::task\_time\_string*(3stap)](/function::task_time_string/3stap.md)\
    for details.

- **task\_time\_string\_tid**

  Human readable string of task time usage

-

  See  [*function::task\_time\_string\_tid*(3stap)](/function::task_time_string_tid/3stap.md)\
    for details.

## SEE ALSO

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