ThreadsCountLabelDoc.tioga
Bier, June 20, 1990 3:53 pm PDT
Spreitze, November 5, 1990 10:25 am PST
ThreadsCountLabel
PCEDAR 2.0 % FOR INTERNAL XEROX USE ONLY
ThreadsCountLabel
Mike Spreitzer
Ó Copyright 1990 Xerox Corporation. All rights reserved.
Abstract: ThreadsCountLabel puts a Viewer in the upper right-hand corner of your screen that displays the number of threads in the various scheduling states.
Created by: Mike Spreitzer
Maintained by: Mike Spreitzer <Mike Spreitzer:PARC:Xerox>
Keywords: Thread, PROCESS, Viewer
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

For Internal Xerox Use Only
1. ThreadsCountLabel
The label is installed and the sampling is controlled by the `ThreadsCountLabel' command. The label is installed the first time the command is issued. The command may be used again later to change settings. The only setting likely to be interesting to users is the sampling period, which may be set to, say 4.7, by giving the `4.7s' argument to the command.
In the display, the scheduling states are labelled:
f: free (when you've got 0 of these, you've got trouble)
ry: ready
rn: run
m: waiting on MONITOR lock
c: waiting on CONDITION variable
o: other (should never be non-0).