tesseract  5.0.0-alpha-619-ge9db
baseapi_thread_test.cc File Reference
#include <functional>
#include <memory>
#include <string>
#include <tensorflow/core/lib/core/threadpool.h>
#include "absl/strings/ascii.h"
#include "allheaders.h"
#include "include_gunit.h"
#include <tesseract/baseapi.h>
#include "commandlineflags.h"
#include "log.h"

Go to the source code of this file.

Functions

 BOOL_PARAM_FLAG (test_tesseract, true, "Test tesseract instances")
 
 BOOL_PARAM_FLAG (test_cube, true, "Test Cube instances")
 
 INT_PARAM_FLAG (reps, 1, "Num of parallel test repetitions to run.")
 
 INT_PARAM_FLAG (max_concurrent_instances, 0, "Maximum number of instances to run in parallel at any given " "instant. The number of concurrent instances cannot exceed " "reps * number_of_langs_tested, which is also the default value.")
 

Function Documentation

◆ BOOL_PARAM_FLAG() [1/2]

BOOL_PARAM_FLAG ( test_cube  ,
true  ,
"Test Cube instances"   
)

◆ BOOL_PARAM_FLAG() [2/2]

BOOL_PARAM_FLAG ( test_tesseract  ,
true  ,
"Test tesseract instances"   
)

◆ INT_PARAM_FLAG() [1/2]

INT_PARAM_FLAG ( max_concurrent_instances  ,
,
"Maximum number of instances to run in parallel at any given " "instant. The number of concurrent instances cannot exceed " "reps *  number_of_langs_tested,
which is also the default value."   
)

◆ INT_PARAM_FLAG() [2/2]

INT_PARAM_FLAG ( reps  ,
,
"Num of parallel test repetitions to run."   
)