Rate This Document
Findability
Accuracy
Completeness
Readability

kupl_get_num_executors

Obtain the number of KUPL executors.

Interface Definition

int kupl_get_num_executors();

Parameters

None

Return Value

The number of KUPL executors.

Examples

1
2
3
4
5
6
7
8
9
#include <stdio.h> 
#include "kupl.h" 

int main() 
{ 
    int num = kupl_get_num_executors(); 
    printf("kupl executor number = %d\n", num); 
    return 0; 
}

The execution result is as follows:

kupl executor number = 128

The preceding example prints the total number of executors. The actual execution result may vary, and the preceding result is for reference only.