PostgreSQL Source Code  git master
TState Struct Reference

Data Fields

int tid
 
THREAD_T thread
 
CStatestate
 
int nstate
 
pg_prng_state ts_choose_rs
 
pg_prng_state ts_throttle_rs
 
pg_prng_state ts_sample_rs
 
int64 throttle_trigger
 
FILE * logfile
 
pg_time_usec_t create_time
 
pg_time_usec_t started_time
 
pg_time_usec_t bench_start
 
pg_time_usec_t conn_duration
 
StatsData stats
 
int64 latency_late
 

Detailed Description

Definition at line 655 of file pgbench.c.

Field Documentation

◆ bench_start

pg_time_usec_t TState::bench_start

Definition at line 677 of file pgbench.c.

Referenced by main(), and threadRun().

◆ conn_duration

pg_time_usec_t TState::conn_duration

Definition at line 678 of file pgbench.c.

Referenced by advanceConnectionState(), main(), and threadRun().

◆ create_time

pg_time_usec_t TState::create_time

Definition at line 675 of file pgbench.c.

Referenced by main().

◆ latency_late

int64 TState::latency_late

Definition at line 682 of file pgbench.c.

Referenced by main(), and processXactStats().

◆ logfile

FILE* TState::logfile

Definition at line 672 of file pgbench.c.

Referenced by doLog(), main(), and threadRun().

◆ nstate

int TState::nstate

Definition at line 660 of file pgbench.c.

Referenced by main(), and threadRun().

◆ started_time

pg_time_usec_t TState::started_time

Definition at line 676 of file pgbench.c.

Referenced by threadRun().

◆ state

CState* TState::state

Definition at line 659 of file pgbench.c.

Referenced by main(), and threadRun().

◆ stats

StatsData TState::stats

Definition at line 681 of file pgbench.c.

Referenced by main(), printProgressReport(), and processXactStats().

◆ thread

THREAD_T TState::thread

Definition at line 658 of file pgbench.c.

Referenced by main().

◆ throttle_trigger

int64 TState::throttle_trigger

Definition at line 671 of file pgbench.c.

Referenced by advanceConnectionState(), and threadRun().

◆ tid

int TState::tid

Definition at line 657 of file pgbench.c.

Referenced by main(), and threadRun().

◆ ts_choose_rs

pg_prng_state TState::ts_choose_rs

Definition at line 667 of file pgbench.c.

Referenced by chooseScript(), and main().

◆ ts_sample_rs

pg_prng_state TState::ts_sample_rs

Definition at line 669 of file pgbench.c.

Referenced by doLog(), and main().

◆ ts_throttle_rs

pg_prng_state TState::ts_throttle_rs

Definition at line 668 of file pgbench.c.

Referenced by advanceConnectionState(), and main().


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