Searched hist:236160 (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_open.cdiff 236160 Sun May 27 16:55:30 MDT 2012 rstone MFC r234691

Implement the D "cpu" variable, which returns curcpu. I have chosen not
to follow the example of OpenSolaris and its descendants, which implemented
cpu as an inline that took a value out of curthread. At certain points in
the FreeBSD scheduler curthread->td_oncpu will no longer be valid (in
particular, just before the thread gets descheduled) so instead I have
implemented this as its own built-in variable.

Sponsored by: Sandvine Inc.
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Ddtrace.hdiff 236160 Sun May 27 16:55:30 MDT 2012 rstone MFC r234691

Implement the D "cpu" variable, which returns curcpu. I have chosen not
to follow the example of OpenSolaris and its descendants, which implemented
cpu as an inline that took a value out of curthread. At certain points in
the FreeBSD scheduler curthread->td_oncpu will no longer be valid (in
particular, just before the thread gets descheduled) so instead I have
implemented this as its own built-in variable.

Sponsored by: Sandvine Inc.
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.cdiff 236160 Sun May 27 16:55:30 MDT 2012 rstone MFC r234691

Implement the D "cpu" variable, which returns curcpu. I have chosen not
to follow the example of OpenSolaris and its descendants, which implemented
cpu as an inline that took a value out of curthread. At certain points in
the FreeBSD scheduler curthread->td_oncpu will no longer be valid (in
particular, just before the thread gets descheduled) so instead I have
implemented this as its own built-in variable.

Sponsored by: Sandvine Inc.

Completed in 133 milliseconds