summaryrefslogtreecommitdiffstats
path: root/tapset/task_time.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/task_time.stp')
-rw-r--r--tapset/task_time.stp26
1 files changed, 17 insertions, 9 deletions
diff --git a/tapset/task_time.stp b/tapset/task_time.stp
index c6af10d0..e5aef933 100644
--- a/tapset/task_time.stp
+++ b/tapset/task_time.stp
@@ -24,7 +24,7 @@
%}
/**
- * sfunction task_utime - User time of the current task.
+ * sfunction task_utime - User time of the current task
*
* Description: Returns the user time of the current task in cputime.
* Does not include any time used by other tasks in this process, nor
@@ -36,7 +36,9 @@ function task_utime:long ()
%}
/**
- * sfunction task_utime - User time of the given task.
+ * sfunction task_utime - User time of the given task
+ *
+ * @tid: Thread id of the given task
*
* Description: Returns the user time of the given task in cputime,
* or zero if the task doesn't exist.
@@ -53,7 +55,7 @@ function task_utime_tid:long(tid:long)
}
/**
- * sfunction task_stime - System time of the current task.
+ * sfunction task_stime - System time of the current task
*
* Description: Returns the system time of the current task in cputime.
* Does not include any time used by other tasks in this process, nor
@@ -65,7 +67,9 @@ function task_stime:long ()
%}
/**
- * sfunction task_stime_tid - System time of the given task.
+ * sfunction task_stime_tid - System time of the given task
+ *
+ * @tid: Thread id of the given task
*
* Description: Returns the system time of the given task in cputime,
* or zero if the task doesn't exist.
@@ -82,7 +86,7 @@ function task_stime_tid:long(tid:long)
}
/**
- * sfunction cputime_to_msecs - Translates the given cputime into milliseconds.
+ * sfunction cputime_to_msecs - Translates the given cputime into milliseconds
* @cputime: Time to convert to milliseconds.
*/
function cputime_to_msecs:long (cputime:long)
@@ -91,7 +95,8 @@ function cputime_to_msecs:long (cputime:long)
%}
/**
- * sfunction msecs_to_string - Human readable string for given milliseconds.
+ * sfunction msecs_to_string - Human readable string for given milliseconds
+ *
* @msecs: Number of milliseconds to translate.
*
* Description: Returns a string representing the number of
@@ -109,7 +114,8 @@ function msecs_to_string:string (msecs:long)
}
/**
- * sfunction cputime_to_string - Human readable string for given cputime.
+ * sfunction cputime_to_string - Human readable string for given cputime
+ *
* @cputime: Time to translate.
*
* Description: Equivalent to calling:
@@ -121,7 +127,7 @@ function cputime_to_string:string (cputime:long)
}
/**
- * sfunction task_time_string - Human readable string of task time usage.
+ * sfunction task_time_string - Human readable string of task time usage
*
* Description: Returns a human readable string showing the user and
* system time the current task has used up to now. For example
@@ -135,7 +141,9 @@ function task_time_string:string ()
}
/**
- * sfunction task_time_string_tid - Human readable string of task time usage.
+ * sfunction task_time_string_tid - Human readable string of task time usage
+ *
+ * @tid: Thread id of the given task
*
* Description: Returns a human readable string showing the user and
* system time the given task has used up to now. For example