Macros | Functions
iomgr/time_averaged_stats_test.cc File Reference
#include "src/core/lib/iomgr/time_averaged_stats.h"
#include <math.h>
#include <grpc/support/log.h>
#include "test/core/util/test_config.h"
Include dependency graph for iomgr/time_averaged_stats_test.cc:

Go to the source code of this file.

Macros

#define EXPECT_DOUBLE_EQ(a, b)   GPR_ASSERT(fabs((a) - (b)) < 1e-9)
 
#define EXPECT_EQ(a, b)   GPR_ASSERT((a) == (b))
 

Functions

int main (int argc, char **argv)
 
static void no_regress_full_persist_test (void)
 
static void no_regress_no_persist_test_1 (void)
 
static void no_regress_no_persist_test_2 (void)
 
static void no_regress_no_persist_test_3 (void)
 
static void no_regress_some_persist_test (void)
 
static void some_decay_test (void)
 
static void some_regress_no_persist_test (void)
 
static void some_regress_some_persist_test (void)
 

Macro Definition Documentation

◆ EXPECT_DOUBLE_EQ

#define EXPECT_DOUBLE_EQ (   a,
  b 
)    GPR_ASSERT(fabs((a) - (b)) < 1e-9)

Definition at line 28 of file iomgr/time_averaged_stats_test.cc.

◆ EXPECT_EQ

#define EXPECT_EQ (   a,
  b 
)    GPR_ASSERT((a) == (b))

Definition at line 27 of file iomgr/time_averaged_stats_test.cc.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 183 of file iomgr/time_averaged_stats_test.cc.

◆ no_regress_full_persist_test()

static void no_regress_full_persist_test ( void  )
static

Definition at line 115 of file iomgr/time_averaged_stats_test.cc.

◆ no_regress_no_persist_test_1()

static void no_regress_no_persist_test_1 ( void  )
static

Definition at line 30 of file iomgr/time_averaged_stats_test.cc.

◆ no_regress_no_persist_test_2()

static void no_regress_no_persist_test_2 ( void  )
static

Definition at line 48 of file iomgr/time_averaged_stats_test.cc.

◆ no_regress_no_persist_test_3()

static void no_regress_no_persist_test_3 ( void  )
static

Definition at line 64 of file iomgr/time_averaged_stats_test.cc.

◆ no_regress_some_persist_test()

static void no_regress_some_persist_test ( void  )
static

Definition at line 135 of file iomgr/time_averaged_stats_test.cc.

◆ some_decay_test()

static void some_decay_test ( void  )
static

Definition at line 94 of file iomgr/time_averaged_stats_test.cc.

◆ some_regress_no_persist_test()

static void some_regress_no_persist_test ( void  )
static

Definition at line 81 of file iomgr/time_averaged_stats_test.cc.

◆ some_regress_some_persist_test()

static void some_regress_some_persist_test ( void  )
static

Definition at line 151 of file iomgr/time_averaged_stats_test.cc.



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