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 current task

  • See function::task_utime(3stap) for details.

task_utime_tid

User time of the given task

  • See function::task_utime_tid(3stap) for details.

task_stime

System time of the current task

  • See function::task_stime(3stap) for details.

task_stime_tid

System time of the given task

  • See function::task_stime_tid(3stap) for details.

task_start_time

Start time of the given task

  • See function::task_start_time(3stap) for details.

cputime_to_msecs

Translates the given cputime into milliseconds

  • See function::cputime_to_msecs(3stap) for details.

cputime_to_usecs

Translates the given cputime into microseconds

  • See function::cputime_to_usecs(3stap) for details.

msecs_to_string

Human readable string for given milliseconds

  • See function::msecs_to_string(3stap) for details.

usecs_to_string

Human readable string for given microseconds

  • See function::usecs_to_string(3stap) for details.

nsecs_to_string

Human readable string for given nanoseconds

  • See function::nsecs_to_string(3stap) for details.

cputime_to_string

Human readable string for given cputime

  • See function::cputime_to_string(3stap) for details.

task_time_string

Human readable string of task time usage

  • See function::task_time_string(3stap) for details.

task_time_string_tid

Human readable string of task time usage

  • See function::task_time_string_tid(3stap) for details.

RELATED TO tapset::task_time…

function::task_utime(3stap),

function::task_utime_tid(3stap),

function::task_stime(3stap),

function::task_stime_tid(3stap),

function::task_start_time(3stap),

function::cputime_to_msecs(3stap),

function::cputime_to_usecs(3stap),

function::msecs_to_string(3stap),

function::usecs_to_string(3stap),

function::nsecs_to_string(3stap),

function::cputime_to_string(3stap),

function::task_time_string(3stap),

function::task_time_string_tid(3stap),

stap(1), stapprobes(3stap)