Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio
Visual C++
Concurrency Runtime
 IScheduler::Statistics Method
Collapse All/Expand All Collapse All
Visual Studio 2010 - Visual C++
IScheduler::Statistics Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Called by the resource manager in order to gather statistics for a given scheduler. The statistics gathered here will be used to drive dynamic feedback with the scheduler to determine when it is appropriate to assign more resources or take resources away. Note that these counts can be optimistic and do not necessarily have to reflect the current count with 100% synchronized accuracy.

virtual void Statistics(
   unsigned int * pTaskCompletionRate,
   unsigned int * pTaskArrivalRate,
   unsigned int * pNumberOfTasksEnqueued
) =0;
pTaskCompletionRate

The number of tasks which have been completed by the scheduler since the last call to the Statistics method.

pTaskArrivalRate

The number of tasks that have arrived in the scheduler since the last call to the Statistics method.

pNumberOfTasksEnqueued

The total number of tasks in all scheduler queues.

Header: concrtrm.h

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker