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

James Litchfield wrote:
> The system tracks this for you. Why not use that? Look at procpsinfo
> and lwpsinfo which DTrace makes available. man -s 4 proc describes the
> contents of these as well as others.

Looking at http://docs.sun.com/app/docs/doc/817-6223/chp-proc-psinfo?a=view
and http://docs.sun.com/app/docs/doc/817-6223/chp-proc-lwpsinfo?a=view

I don't see any information about CPU time.

According to the man pages, there is a member psinfo.pr_time, but this is of
type timestruc_t which is not reflected into dtrace (experiments confirm
that I can't use this member directly):

http://docs.sun.com/app/docs/doc/816-5174/proc-4?a=view

Is there some way to use the timestruc_t type indirectly?

- --BDS

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJIbbtSSwGp5sTYNkRAsIHAKC+n5xOfyJ7GfMBZB+CIsUy0EK+HgCeOmOf
NZscEznLHopwuRYAAfbLPHY=
=yWa8
-----END PGP SIGNATURE-----
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to