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
13bd566e
Commit
13bd566e
authored
Jan 06, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h2load: Remove RequestStat ctor
parent
a52920ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
src/h2load.cc
src/h2load.cc
+1
-3
src/h2load.h
src/h2load.h
+0
-1
No files found.
src/h2load.cc
View file @
13bd566e
...
...
@@ -97,8 +97,6 @@ bool Config::is_rate_mode() const { return (this->rate != 0); }
bool
Config
::
has_base_uri
()
const
{
return
(
!
this
->
base_uri
.
empty
());
}
Config
config
;
RequestStat
::
RequestStat
()
:
data_offset
(
0
),
completed
(
false
)
{}
constexpr
size_t
MAX_STATS
=
1000000
;
Stats
::
Stats
(
size_t
req_todo
,
size_t
nclients
)
...
...
@@ -110,7 +108,7 @@ Stats::Stats(size_t req_todo, size_t nclients)
client_stats
.
reserve
(
std
::
min
(
nclients
,
MAX_STATS
));
}
Stream
::
Stream
()
:
status_success
(
-
1
)
{}
Stream
::
Stream
()
:
req_stat
{},
status_success
(
-
1
)
{}
namespace
{
std
::
random_device
rd
;
...
...
src/h2load.h
View file @
13bd566e
...
...
@@ -112,7 +112,6 @@ struct Config {
};
struct
RequestStat
{
RequestStat
();
// time point when request was sent
std
::
chrono
::
steady_clock
::
time_point
request_time
;
// time point when stream was closed
...
...
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