Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nest-streaming-module
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LuFG VR VIS
VR-Group
In Situ Pipeline
nest-streaming-module
Commits
c870ba70
Commit
c870ba70
authored
6 years ago
by
Simon Oehrl
Browse files
Options
Downloads
Patches
Plain Diff
Add logging
parent
c5761842
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
streaming_recording_backend.cpp
+17
-0
17 additions, 0 deletions
streaming_recording_backend.cpp
streaming_recording_backend.h
+6
-0
6 additions, 0 deletions
streaming_recording_backend.h
with
23 additions
and
0 deletions
streaming_recording_backend.cpp
+
17
−
0
View file @
c870ba70
...
@@ -38,6 +38,19 @@ void StreamingRecordingBackend::initialize() {
...
@@ -38,6 +38,19 @@ void StreamingRecordingBackend::initialize() {
std
::
cout
<<
"initialize()"
<<
std
::
endl
;
std
::
cout
<<
"initialize()"
<<
std
::
endl
;
}
}
void
StreamingRecordingBackend
::
prepare
()
{
std
::
cout
<<
"prepare()"
<<
std
::
endl
;
std
::
cout
<<
"Get the number of nodes"
<<
nest
::
kernel
().
node_manager
.
size
()
<<
std
::
endl
;
}
void
StreamingRecordingBackend
::
cleanup
()
{
std
::
cout
<<
"cleanup()"
<<
std
::
endl
;
}
void
StreamingRecordingBackend
::
post_run_cleanup
()
{
std
::
cout
<<
"post_run_cleanup()"
<<
std
::
endl
;
}
void
StreamingRecordingBackend
::
enroll
(
void
StreamingRecordingBackend
::
enroll
(
const
nest
::
RecordingDevice
&
device
,
const
nest
::
RecordingDevice
&
device
,
const
std
::
vector
<
Name
>
&
double_value_names
,
const
std
::
vector
<
Name
>
&
double_value_names
,
...
@@ -121,6 +134,10 @@ void StreamingRecordingBackend::synchronize() {
...
@@ -121,6 +134,10 @@ void StreamingRecordingBackend::synchronize() {
}
}
}
}
void
StreamingRecordingBackend
::
clear
(
const
nest
::
RecordingDevice
&
device
)
{
std
::
cout
<<
"clear("
<<
device
.
get_name
()
<<
")"
<<
std
::
endl
;
}
void
StreamingRecordingBackend
::
finalize
()
{
void
StreamingRecordingBackend
::
finalize
()
{
// Called once
// Called once
std
::
cout
<<
"finalize()"
<<
std
::
endl
;
std
::
cout
<<
"finalize()"
<<
std
::
endl
;
...
...
This diff is collapsed.
Click to expand it.
streaming_recording_backend.h
+
6
−
0
View file @
c870ba70
...
@@ -50,9 +50,15 @@ class StreamingRecordingBackend : public nest::RecordingBackend {
...
@@ -50,9 +50,15 @@ class StreamingRecordingBackend : public nest::RecordingBackend {
void
initialize
()
override
;
void
initialize
()
override
;
void
prepare
()
override
;
void
cleanup
()
override
;
void
post_run_cleanup
()
override
;
void
finalize
()
override
;
void
finalize
()
override
;
void
synchronize
()
override
;
void
synchronize
()
override
;
void
clear
(
const
nest
::
RecordingDevice
&
)
override
;
void
write
(
const
nest
::
RecordingDevice
&
,
const
nest
::
Event
&
,
void
write
(
const
nest
::
RecordingDevice
&
,
const
nest
::
Event
&
,
const
std
::
vector
<
double
>
&
,
const
std
::
vector
<
long
>
&
)
override
;
const
std
::
vector
<
double
>
&
,
const
std
::
vector
<
long
>
&
)
override
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment