FCpuInfo Class Reference

CPU Info. More...

#include <fcpu.h>

Public Member Functions

 FCpuInfo ()
 ~FCpuInfo ()
int32 countLogical () const
 Returns the number of cpu-cores present.
int32 countAvailable () const
 Returns the number of cpu-cores currently available for processing.
bool isLogicalAvailable (int32 index)
 Returns true if the core with the given index is available.

Protected Member Functions

void initialize ()

Protected Attributes

int32 numLogical
int32 numAvailable

Detailed Description

CPU Info.


Constructor & Destructor Documentation

FCpuInfo (  ) 
~FCpuInfo (  ) 

Member Function Documentation

int32 countLogical (  )  const [inline]

Returns the number of cpu-cores present.

Returns:
number of available cpu-cores
int32 countAvailable (  )  const [inline]

Returns the number of cpu-cores currently available for processing.

Returns:
number of available cpu-cores
bool isLogicalAvailable ( int32  index  ) 

Returns true if the core with the given index is available.

Returns:
true if the core with the given index is available
void initialize (  )  [protected]

Field Documentation

int32 numLogical [protected]
int32 numAvailable [protected]
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.