[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Java and ps - NPTL?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian Krahmer wrote:
> ps usually reports 0:00 or 0:01 total processing
> time.

This is probably a ps problem.  Each thread accumulates the own time.  I
don't think there is a totaltime count exposed in /proc.  ps would have
to interate over all threads and add up the time.  I haven't looked at
this all but time does report meaningful numbers.  If your program
actually terminates, run the interpreter using time to see what you get
in the end.

- -- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAOt+H2ijCOnn/RHQRAq49AJ9ZoeagqDObl1fXdOLgOr45w4CIFgCdHxjY
+ogexC+o07ZxS690fWBa+Fc=
=2N+f
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]