Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sudheer Chunduri
darshan
Commits
dc00384c
Commit
dc00384c
authored
Mar 30, 2015
by
Shane Snyder
Browse files
bug fix in counter macros: forgot '+'
parent
9801de53
Changes
2
Hide whitespace changes
Inline
Side-by-side
darshan-runtime/darshan.h
View file @
dc00384c
...
...
@@ -75,11 +75,11 @@
} while(0)
#define DARSHAN_COUNTER_INC(__rec_p, __counter, __value) do{ \
(__rec_p)->counters[__counter] = __value; \
(__rec_p)->counters[__counter]
+
= __value; \
} while(0)
#define DARSHAN_COUNTER_F_INC(__rec_p, __counter, __value) do{ \
(__rec_p)->fcounters[__counter] = __value; \
(__rec_p)->fcounters[__counter]
+
= __value; \
} while(0)
#define DARSHAN_COUNTER_F_INC_NO_OVERLAP(__rec_p, __tm1, __tm2, __last, __counter) do{ \
...
...
darshan-runtime/lib/darshan-posix.c
View file @
dc00384c
...
...
@@ -601,7 +601,7 @@ static void posix_runtime_initialize()
{
.
disable_instrumentation
=
&
posix_disable_instrumentation
,
.
prepare_for_reduction
=
&
posix_prepare_for_reduction
,
.
record_reduction_op
=
NULL
,
//
&posix_record_reduction_op,
.
record_reduction_op
=
&
posix_record_reduction_op
,
.
get_output_data
=
&
posix_get_output_data
,
.
shutdown
=
&
posix_shutdown
};
...
...
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