* the timestamp of the previous sample.
* @curr_string String displayed at the beginning of current sample stats.
* This is the timestamp of the current sample.
- * @itv Interval of time.
*
* RETURNS:
* 0 if all the processes to display have terminated.
***************************************************************************
*/
int write_pid_child_all_stats(int prev, int curr, int dis,
- char *prev_string, char *curr_string,
- unsigned long long itv)
+ char *prev_string, char *curr_string)
{
struct pid_stats *pstc, *pstp;
unsigned int p;
* @curr_string String displayed at the beginning of current sample stats.
* This is the timestamp of the current sample, or "Average"
* when displaying average stats.
- * @itv Interval of time.
*
* RETURNS:
* 0 if all the processes to display have terminated.
***************************************************************************
*/
int write_pid_stack_stats(int prev, int curr, int dis, int disp_avg,
- char *prev_string, char *curr_string,
- unsigned long long itv)
+ char *prev_string, char *curr_string)
{
struct pid_stats *pstc, *pstp;
unsigned int p;
* @curr_string String displayed at the beginning of current sample stats.
* This is the timestamp of the current sample, or "Average"
* when displaying average stats.
- * @itv Interval of time.
*
* RETURNS:
* 0 if all the processes to display have terminated.
***************************************************************************
*/
int write_pid_rt_stats(int prev, int curr, int dis,
- char *prev_string, char *curr_string,
- unsigned long long itv)
+ char *prev_string, char *curr_string)
{
struct pid_stats *pstc, *pstp;
unsigned int p;
* @curr_string String displayed at the beginning of current sample stats.
* This is the timestamp of the current sample, or "Average"
* when displaying average stats.
- * @itv Interval of time.
*
* RETURNS:
* 0 if all the processes to display have terminated.
***************************************************************************
*/
int write_pid_ktab_stats(int prev, int curr, int dis, int disp_avg,
- char *prev_string, char *curr_string,
- unsigned long long itv)
+ char *prev_string, char *curr_string)
{
struct pid_stats *pstc, *pstp;
unsigned int p;
itv, deltot_jiffies);
}
if (DISPLAY_CHILD_STATS(tskflag)) {
- again += write_pid_child_all_stats(prev, curr, dis, prev_string, curr_string,
- itv);
+ again += write_pid_child_all_stats(prev, curr, dis, prev_string, curr_string);
}
}
else {
/* Display stack stats */
if (DISPLAY_STACK(actflag)) {
again += write_pid_stack_stats(prev, curr, dis, disp_avg,
- prev_string, curr_string, itv);
+ prev_string, curr_string);
}
/* Display I/O stats */
/* Display kernel table stats */
if (DISPLAY_KTAB(actflag)) {
again += write_pid_ktab_stats(prev, curr, dis, disp_avg,
- prev_string, curr_string, itv);
+ prev_string, curr_string);
}
/* Display scheduling priority and policy information */
if (DISPLAY_RT(actflag)) {
- again += write_pid_rt_stats(prev, curr, dis, prev_string,
- curr_string, itv);
+ again += write_pid_rt_stats(prev, curr, dis, prev_string, curr_string);
}
}
* @a Activity structure with statistics.
* @prev Index in array where stats used as reference are.
* @curr Index in array for current sample statistics.
- * @itv Interval of time in 1/100th of a second.
* @dispavg TRUE if displaying average statistics.
***************************************************************************
*/
-void stub_print_memory_stats(struct activity *a, int prev, int curr,
- unsigned long long itv, int dispavg)
+void stub_print_memory_stats(struct activity *a, int prev, int curr, int dispavg)
{
struct stats_memory
*smc = (struct stats_memory *) a->buf[curr];
__print_funct_t print_memory_stats(struct activity *a, int prev, int curr,
unsigned long long itv)
{
- stub_print_memory_stats(a, prev, curr, itv, FALSE);
+ stub_print_memory_stats(a, prev, curr, FALSE);
}
/*
__print_funct_t print_avg_memory_stats(struct activity *a, int prev, int curr,
unsigned long long itv)
{
- stub_print_memory_stats(a, prev, curr, itv, TRUE);
+ stub_print_memory_stats(a, prev, curr, TRUE);
}
/*
* IN:
* @a Activity structure with statistics.
* @curr Index in array for current sample statistics.
- * @itv Interval of time in 1/100th of a second.
* @dispavg TRUE if displaying average statistics.
***************************************************************************
*/