Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e1b96eb4
authored
9 years ago
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dataflow_cpp: added default token count to network
parent
5bbc63a1
global_scheduling
…
development
embb375_dataflow_priorities_and_affinities
embb428_cuda_plugin
embb456_zip_release_files
embb458_mtapi_initialization
embb516_threadsanitizer
embb517_mutex_based_atomics
embb533_worker_thread_os_priorities
embb546_low_performance_on_arm
embb562_install_pdb_files
embb567_documentation_condition_variable
embb580_extend_changelog
embb581_mtapi_task_wait_timing_fix
embb582_contributing_readme_file
embb603_outdated_headers
embb607_error_with_include_file
embb609_doxygen_warnings
master
v0.4.0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
dataflow_cpp/include/embb/dataflow/network.h
+4
-1
No files found.
dataflow_cpp/include/embb/dataflow/network.h
View file @
e1b96eb4
...
...
@@ -681,8 +681,11 @@ class Network {
class
Network
:
public
internal
::
ClockListener
{
public
:
explicit
Network
(
int
slices
)
explicit
Network
(
int
slices
=
0
)
:
sink_counter_
(
NULL
),
slices_
(
slices
),
sched_
(
NULL
)
{
if
(
0
>=
slices
)
{
slices_
=
int
(
embb_core_count_available
())
*
4
;
}
sched_
=
embb
::
base
::
Allocation
::
New
<
internal
::
SchedulerMTAPI
>
(
slices_
);
sink_counter_
=
reinterpret_cast
<
embb
::
base
::
Atomic
<
int
>*>
(
embb
::
base
::
Allocation
::
Allocate
(
...
...
This diff is collapsed.
Click to expand it.
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