PostgreSQL Source Code  git master
TState Struct Reference

Data Fields

int tid
 
THREAD_T thread
 
CStatestate
 
int nstate
 
RandomState ts_choose_rs
 
RandomState ts_throttle_rs
 
RandomState 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 489 of file pgbench.c.

Field Documentation

◆ bench_start

pg_time_usec_t TState::bench_start

Definition at line 511 of file pgbench.c.

Referenced by main(), and threadRun().

◆ conn_duration

pg_time_usec_t TState::conn_duration

Definition at line 512 of file pgbench.c.

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

◆ create_time

pg_time_usec_t TState::create_time

Definition at line 509 of file pgbench.c.

Referenced by main().

◆ latency_late

int64 TState::latency_late

Definition at line 516 of file pgbench.c.

Referenced by main(), and processXactStats().

◆ logfile

FILE* TState::logfile

Definition at line 506 of file pgbench.c.

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

◆ nstate

int TState::nstate

Definition at line 494 of file pgbench.c.

Referenced by main(), and threadRun().

◆ started_time

pg_time_usec_t TState::started_time

Definition at line 510 of file pgbench.c.

Referenced by threadRun().

◆ state

CState* TState::state

Definition at line 493 of file pgbench.c.

Referenced by main(), and threadRun().

◆ stats

StatsData TState::stats

Definition at line 515 of file pgbench.c.

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

◆ thread

THREAD_T TState::thread

Definition at line 492 of file pgbench.c.

Referenced by main().

◆ throttle_trigger

int64 TState::throttle_trigger

Definition at line 505 of file pgbench.c.

Referenced by advanceConnectionState(), and threadRun().

◆ tid

int TState::tid

Definition at line 491 of file pgbench.c.

Referenced by main(), and threadRun().

◆ ts_choose_rs

RandomState TState::ts_choose_rs

Definition at line 501 of file pgbench.c.

Referenced by chooseScript(), and main().

◆ ts_sample_rs

RandomState TState::ts_sample_rs

Definition at line 503 of file pgbench.c.

Referenced by doLog(), and main().

◆ ts_throttle_rs

RandomState TState::ts_throttle_rs

Definition at line 502 of file pgbench.c.

Referenced by advanceConnectionState(), and main().


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