Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
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
Operations
Operations
Metrics
Environments
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
cpp-libs
Actor Framework
Commits
b3dc91e7
Commit
b3dc91e7
authored
Mar 02, 2018
by
Sebastian Wölke
Committed by
Dominik Charousset
Mar 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo commplexity to complexity
parent
4c136929
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
libcaf_core/caf/actor_system_config.hpp
libcaf_core/caf/actor_system_config.hpp
+1
-1
libcaf_core/caf/inbound_path.hpp
libcaf_core/caf/inbound_path.hpp
+1
-1
libcaf_core/src/actor_system_config.cpp
libcaf_core/src/actor_system_config.cpp
+2
-2
libcaf_core/src/scheduled_actor.cpp
libcaf_core/src/scheduled_actor.cpp
+1
-1
No files found.
libcaf_core/caf/actor_system_config.hpp
View file @
b3dc91e7
...
...
@@ -260,7 +260,7 @@ public:
// -- streaming parameters ---------------------------------------------------
/// Maximum delay for sending underfull batches.
size_t
streaming_desired_batch_com
m
plexity_us
;
size_t
streaming_desired_batch_complexity_us
;
/// Maximum delay for sending underfull batches.
size_t
streaming_max_batch_delay_us
;
...
...
libcaf_core/caf/inbound_path.hpp
View file @
b3dc91e7
...
...
@@ -92,7 +92,7 @@ public:
struct
calculation_result
{
/// Number of items per credit cycle.
long
max_throughput
;
/// Number of items per batch to reach the desired batch com
m
plexity.
/// Number of items per batch to reach the desired batch complexity.
long
items_per_batch
;
};
...
...
libcaf_core/src/actor_system_config.cpp
View file @
b3dc91e7
...
...
@@ -112,7 +112,7 @@ actor_system_config::actor_system_config()
add_message_type_impl
<
std
::
vector
<
atom_value
>>
(
"std::vector<@atom>"
);
add_message_type_impl
<
std
::
vector
<
message
>>
(
"std::vector<@message>"
);
// (1) hard-coded defaults
streaming_desired_batch_com
m
plexity_us
=
50
;
streaming_desired_batch_complexity_us
=
50
;
streaming_max_batch_delay_us
=
50000
;
streaming_credit_round_interval_us
=
100000
;
streaming_tick_duration_us
=
50000
;
...
...
@@ -146,7 +146,7 @@ actor_system_config::actor_system_config()
middleman_max_pending_msgs
=
10
;
// fill our options vector for creating INI and CLI parsers
opt_group
{
options_
,
"streaming"
}
.
add
(
streaming_desired_batch_com
mplexity_us
,
"desired-batch-com
mplexity-us"
,
.
add
(
streaming_desired_batch_com
plexity_us
,
"desired-batch-co
mplexity-us"
,
"sets the desired timespan for a single batch"
)
.
add
(
streaming_max_batch_delay_us
,
"max-batch-delay-us"
,
"sets the maximum delay for sending underfull batches in microseconds"
)
...
...
libcaf_core/src/scheduled_actor.cpp
View file @
b3dc91e7
...
...
@@ -1071,7 +1071,7 @@ scheduled_actor::advance_streams(actor_clock::time_point now) {
if
((
bitmask
&
0x02
)
!=
0
)
{
auto
cycle
=
stream_ticks_
.
interval
();
cycle
*=
credit_round_ticks_
;
auto
bc_us
=
home_system
().
config
().
streaming_desired_batch_com
m
plexity_us
;
auto
bc_us
=
home_system
().
config
().
streaming_desired_batch_complexity_us
;
auto
bc
=
std
::
chrono
::
microseconds
(
bc_us
);
auto
&
qs
=
get
<
2
>
(
mailbox_
.
queue
().
queues
()).
queues
();
for
(
auto
&
kvp
:
qs
)
{
...
...
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