GetProcessSwitchCount

Returns the number of context switches for the current processor.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <netware.h> 
   
  int GetProcessSwitchCount( void );
  

Return Values

If successful, returns the number of context switches to which the numeric identity of the current process is added. For example, if the current processor is 3 and the count of context switches is 179,460, the value returned is 179463.

Remarks

The value returned is only indicative of the context switches and must not be used as an accurate count of context switches.

NOTE:This function is for code development, debugging, and diagnostics.