公有成员

CParallel类参考


详细描述

Class Parallel provides helper functions for multithreading.

For example it can be used to determine the number of CPU cores in your computer and is the place where you define the number of CPUs that shall be used in computations.

在文件Parallel.h33行定义。

所有成员的列表。

公有成员

 CParallel ()
 CParallel (const CParallel &orig)
virtual ~CParallel ()
int32_t get_num_cpus () const
void set_num_threads (int32_t n)
int32_t get_num_threads () const
int32_t ref ()
int32_t ref_count () const
int32_t unref ()

构造及析构函数文档

CParallel (  )

在文件Parallel.cpp15行定义。

CParallel ( const CParallel orig )

在文件Parallel.cpp19行定义。

~CParallel (  ) [virtual]

在文件Parallel.cpp24行定义。


成员函数文档

int32_t get_num_cpus (  ) const

在文件Parallel.h40行定义。

int32_t get_num_threads (  ) const

在文件Parallel.h61行定义。

int32_t ref (  )

在文件Parallel.h66行定义。

int32_t ref_count (  ) const

在文件Parallel.h72行定义。

void set_num_threads ( int32_t  n )

在文件Parallel.h53行定义。

int32_t unref (  )

在文件Parallel.h77行定义。


该类的文档由以下文件生成:

SHOGUN Machine Learning Toolbox - Documentation