Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
0d27a899
Commit
0d27a899
authored
Oct 10, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'h2load-refactor-rate-mode'
parents
509c5155
4030060d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
122 additions
and
199 deletions
+122
-199
src/h2load.cc
src/h2load.cc
+117
-197
src/h2load.h
src/h2load.h
+5
-2
No files found.
src/h2load.cc
View file @
0d27a899
This diff is collapsed.
Click to expand it.
src/h2load.h
View file @
0d27a899
...
...
@@ -82,8 +82,6 @@ struct Config {
// rate at which connections should be made
size_t
rate
;
ev_tstamp
rate_period
;
// number of connections made
size_t
nconns
;
// amount of time to wait for activity on a given connection
ssize_t
conn_active_timeout
;
// amount of time to wait after the last request is made on a connection
...
...
@@ -200,7 +198,12 @@ struct Worker {
bool
tls_info_report_done
;
bool
app_info_report_done
;
size_t
nconns_made
;
// number of clients this worker handles
size_t
nclients
;
// number of requests each client issues
size_t
nreqs_per_client
;
// at most nreqs_rem clients get an extra request
size_t
nreqs_rem
;
size_t
rate
;
ev_timer
timeout_watcher
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment