>>>>> "Shailabh" == Shailabh Nagar <[email protected]> writes:
Shailabh> delayacct-setup.patch Initialization code related to
Shailabh> collection of per-task "delay" statistics which measure how
Shailabh> long it had to wait for cpu, sync block io, swapping
Shailabh> etc. The collection of statistics and the interface are in
Shailabh> other patches. This patch sets up the data structures and
Shailabh> allows the statistics collection to be disabled through a
Shailabh> kernel boot paramater.
Shailabh> +#ifdef CONFIG_TASK_DELAY_ACCT
Shailabh> +struct task_delay_info {
Shailabh> + spinlock_t lock;
Shailabh> +
Shailabh> + /* For each stat XXX, add following, aligned appropriately
Shailabh> + *
Shailabh> + * struct timespec XXX_start, XXX_end;
Shailabh> + * u64 XXX_delay;
Shailabh> + * u32 XXX_count;
Shailabh> + */
Shailabh> +};
Shailabh> +#endif
Hmmm
I thought you were going to change this to do
u64 some_delay
u32 foo_count
u32 bar_count
u64 another_delay
To avoid wasting space on 64 bit platforms.
Jes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]