Namespaces | Functions | Variables
test/core/util/test_config.cc File Reference
#include "test/core/util/test_config.h"
#include <inttypes.h>
#include <signal.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "absl/debugging/failure_signal_handler.h"
#include "absl/debugging/symbolize.h"
#include "absl/strings/match.h"
#include "absl/strings/strip.h"
#include <grpc/grpc.h>
#include <grpc/impl/codegen/gpr_types.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/gpr/env.h"
#include "src/core/lib/gpr/useful.h"
#include "src/core/lib/gprpp/examine_stack.h"
#include "src/core/lib/surface/init.h"
#include "test/core/event_engine/test_init.h"
#include "test/core/util/build.h"
#include "test/core/util/stack_tracer.h"
Include dependency graph for test/core/util/test_config.cc:

Go to the source code of this file.

Namespaces

 grpc
 
 grpc::testing
 

Functions

void grpc_test_init (int *argc, char **argv)
 
int64_t grpc_test_sanitizer_slowdown_factor ()
 
int64_t grpc_test_slowdown_factor ()
 
gpr_timespec grpc_timeout_milliseconds_to_deadline (int64_t time_ms)
 
gpr_timespec grpc_timeout_seconds_to_deadline (int64_t time_s)
 
bool grpc_wait_until_shutdown (int64_t time_s)
 

Variables

int64_t g_fixture_slowdown_factor = 1
 
int64_t g_poller_slowdown_factor = 1
 

Function Documentation

◆ grpc_test_init()

void grpc_test_init ( int argc,
char **  argv 
)

Definition at line 135 of file test/core/util/test_config.cc.

◆ grpc_test_sanitizer_slowdown_factor()

int64_t grpc_test_sanitizer_slowdown_factor ( )

Definition at line 60 of file test/core/util/test_config.cc.

◆ grpc_test_slowdown_factor()

int64_t grpc_test_slowdown_factor ( )

Definition at line 76 of file test/core/util/test_config.cc.

◆ grpc_timeout_milliseconds_to_deadline()

gpr_timespec grpc_timeout_milliseconds_to_deadline ( int64_t  time_ms)

Definition at line 89 of file test/core/util/test_config.cc.

◆ grpc_timeout_seconds_to_deadline()

gpr_timespec grpc_timeout_seconds_to_deadline ( int64_t  time_s)

Definition at line 81 of file test/core/util/test_config.cc.

◆ grpc_wait_until_shutdown()

bool grpc_wait_until_shutdown ( int64_t  time_s)

Definition at line 151 of file test/core/util/test_config.cc.

Variable Documentation

◆ g_fixture_slowdown_factor

int64_t g_fixture_slowdown_factor = 1

Definition at line 47 of file test/core/util/test_config.cc.

◆ g_poller_slowdown_factor

int64_t g_poller_slowdown_factor = 1

Definition at line 48 of file test/core/util/test_config.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:34