Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdo
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
cdo
Commits
f1380e3f
Commit
f1380e3f
authored
1 year ago
by
Oliver Heidmann
Browse files
Options
Downloads
Patches
Plain Diff
added debug for FACTORY
parent
2c0f34cb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!160
M300433/fix aliases
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/cdo_output.cc
+4
-1
4 additions, 1 deletion
src/cdo_output.cc
src/cdo_output.h
+1
-0
1 addition, 0 deletions
src/cdo_output.h
with
5 additions
and
1 deletion
src/cdo_output.cc
+
4
−
1
View file @
f1380e3f
...
...
@@ -32,6 +32,7 @@ unsigned PROCESS_MANAGER = 0;
unsigned
CDO_NODE
=
0
;
unsigned
PARSER
=
0
;
unsigned
PROCESS_INT
=
0
;
unsigned
FACTORY
=
0
;
std
::
string
debug_option_string
=
"DebugLevels:
\n
"
" 0: off
\n
"
...
...
@@ -51,7 +52,8 @@ std::string debug_option_string = "DebugLevels:\n"
" 12: Process manager
\n
"
" 13: CDO nodes
\n
"
" 14: Parser
\n
"
" 15: Process interface
\n
"
;
" 15: Process interface
\n
"
" 16: Factory
\n
"
;
void
print_debug_options
()
...
...
@@ -138,6 +140,7 @@ set_debug(unsigned p_debug_level)
if
(
p_debug_level
&
(
1u
<<
13
))
CDO_NODE
=
1
;
if
(
p_debug_level
&
(
1u
<<
14
))
PARSER
=
1
;
if
(
p_debug_level
&
(
1u
<<
15
))
PROCESS_INT
=
1
;
if
(
p_debug_level
&
(
1u
<<
16
))
FACTORY
=
1
;
MpMO
::
DebugLevel
=
p_debug_level
;
cdoDebug
=
(
p_debug_level
>
0
);
}
...
...
This diff is collapsed.
Click to expand it.
src/cdo_output.h
+
1
−
0
View file @
f1380e3f
...
...
@@ -19,6 +19,7 @@ extern unsigned CDO_NODE;
extern
unsigned
PARSER
;
extern
unsigned
PROCESS_INT
;
extern
unsigned
CDO_DEBUG
;
extern
unsigned
FACTORY
;
extern
std
::
string
debug_option_string
;
...
...
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