Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 17 Nov 2003 08:36:32 -0800 | From | John Reiser <> | Subject | Re: Measuring per thread CPU consumption & others statistics for NPTL |
| |
Peter Zaitsev wrote: > On Mon, 2003-11-17 at 03:27, Peter Chubb wrote: >>If you apply my microstate accounting patch, you can get nanosecomnd >>resolution per thread. > > Is it planned to be included in the kernel at some point ? > For me it is the most important not to get things working on some > particular test systems, but to allow customers, which run generic or > vendor provided kernels to use the functionality.
The current 2.6.0-test9-bk22 has no microsecond-or-finer per-thread accounting, so based on current policy and past experience you may have to wait two years.
A leading contender for x86 and x86_64 is the perfctr patches http://www.csd.uu.se/~mikpe/linux/perfctr/ which have been maintained for a number of years (v1.0 at 2000-01-31 for Linux 2.2.14/2.3.41) and have a following, including http://icl.cs.utk.edu/projects/papi/ . A recent patched, ready-to-install NPTL kernel happens to reside at http://www.BitWagon.com/ftp/kernel-smp-2.4.20-20.9.perfctr2.5.5.i686.rpm .
For a complete profiler: http://www.BitWagon.com/tsprof/tsprof.html which also will run on a generic kernel in "-wallclock" mode (TSC cycle accuracy, but not virtualized.)
--
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |