-
Notifications
You must be signed in to change notification settings - Fork 16
Runtime Status
Many fields in the PowerPool class represent the current state of the thread pool, such as the number of active threads.
[Get only]
Thread pool is running or not
bool PoolRunning;[Get only]
Thread pool is stopping (when user call Stop(...)) or not.
When thread pool idled, PoolStopping becomes false.
bool PoolStopping;[Get only]
Idle worker count
int IdleWorkerCount;[Get only]
Waiting work count
int WaitingWorkCount;[Get only]
ID list of waiting works
IEnumerable<WorkID> WaitingWorkList;[Get only]
Failed work count
Will be reset to zero when the thread pool starts again
int FailedWorkCount;[Get only]
ID list of failed works
Will be cleared when the thread pool starts again
IEnumerable<WorkID> FailedWorkList;[Get only]
Running worker count
int RunningWorkerCount;[Get only]
Alive worker count
int AliveWorkerCount;[Get only]
Long running worker count
int LongRunningWorkerCount;[Get only]
The total time spent in the queue (ms).
Will be reset when the thread pool starts again.
long TotalQueueTime;[Get only]
The total time taken for execution (ms).
Will be reset when the thread pool starts again.
long TotalExecuteTime;[Get only]
The average time spent in the queue (ms).
Will be reset when the thread pool starts again.
long AverageQueueTime;[Get only]
The average time taken for execution (ms).
Will be reset when the thread pool starts again.
long AverageExecuteTime;[Get only]
The average elapsed time from start queue to finish (ms).
Will be reset when the thread pool starts again.
long AverageElapsedTime;[Get only]
The total elapsed time from start queue to finish (ms).
Will be reset when the thread pool starts again.
long TotalElapsedTime;[Get only]
Pool runtime duration.
Will be reset when the thread pool starts again.
TimeSpan RuntimeDuration;- Sync | Async
- Pool Control | Work Control
- Divide And Conquer
- Thread Pool Sizing
- Work Callback | Default Callback
- Rejection Policy
- Parallel Execution
- Work Priority | Thread Priority
- Error Handling
- Work Timeout | Cumulative Work Timeout
- Work Dependency
- Work Group
- Events
- Runtime Status
- Running Timer
- Queue Type (FIFO | LIFO | Deque | Custom)
Core
Results
Options