Public Member Functions | Private Types | Private Attributes | List of all members
grpc::testing::InterarrivalTimer Class Reference

#include <interarrival.h>

Public Member Functions

void init (const RandomDistInterface &r, int threads, int entries=1000000)
 
 InterarrivalTimer ()
 
int64_t next (int thread_num)
 
virtual ~InterarrivalTimer ()
 

Private Types

typedef std::vector< int64_ttime_table
 

Private Attributes

time_table random_table_
 
std::vector< time_table::const_iterator > thread_posns_
 

Detailed Description

Definition at line 74 of file interarrival.h.

Member Typedef Documentation

◆ time_table

Definition at line 101 of file interarrival.h.

Constructor & Destructor Documentation

◆ InterarrivalTimer()

grpc::testing::InterarrivalTimer::InterarrivalTimer ( )
inline

Definition at line 76 of file interarrival.h.

◆ ~InterarrivalTimer()

virtual grpc::testing::InterarrivalTimer::~InterarrivalTimer ( )
inlinevirtual

Definition at line 90 of file interarrival.h.

Member Function Documentation

◆ init()

void grpc::testing::InterarrivalTimer::init ( const RandomDistInterface r,
int  threads,
int  entries = 1000000 
)
inline

Definition at line 77 of file interarrival.h.

◆ next()

int64_t grpc::testing::InterarrivalTimer::next ( int  thread_num)
inline

Definition at line 92 of file interarrival.h.

Member Data Documentation

◆ random_table_

time_table grpc::testing::InterarrivalTimer::random_table_
private

Definition at line 103 of file interarrival.h.

◆ thread_posns_

std::vector<time_table::const_iterator> grpc::testing::InterarrivalTimer::thread_posns_
private

Definition at line 102 of file interarrival.h.


The documentation for this class was generated from the following file:


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