Description
CLIP provides a number of functions for monitoring the performance of the Application. These are useful for system monitoring and reporting.
Concurrency is the number of jobs (Threads/Methods) that are currently available to run. Thus if there is sufficient processor power available all of these jobs would run in parallel.
Generation
The ClpMaxConcurrency function can be used to report on the peak number of jobs that where ready to run.
Uns ClpMaxConcurrency();
Return
The function returns the maximum number of jobs that became ready to run.
Examples
Uns AppCct_MonitorMthdElem()::Process()
{
...
const Uns concurrency = ClpConcurrency();
const Uns maxConcurrency = ClpMaxConcurrency();
ClpDiag( "Jobs: current %d max %d\n", concurrency, maxConcurrency );
...
}