Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cristian Simarro
darshan
Commits
8821f33d
Commit
8821f33d
authored
Jan 31, 2017
by
Shane Snyder
Browse files
ENABLE_DXT_IO_TRACE_MEM => DXT_ENABLE_IO_TRACE
parent
dbbfe135
Changes
3
Hide whitespace changes
Inline
Side-by-side
darshan-runtime/lib/darshan-dxt.c
View file @
8821f33d
...
...
@@ -410,7 +410,7 @@ static void dxt_posix_runtime_initialize()
memset
(
dxt_posix_runtime
,
0
,
sizeof
(
*
dxt_posix_runtime
));
/* set the memory quota for DXT, if it has not been initialized */
envstr
=
getenv
(
"ENABLE_
DXT_
IO_TRACE
_MEM
"
);
envstr
=
getenv
(
"
DXT_
ENABLE_IO_TRACE"
);
if
(
envstr
&&
dxt_mpiio_runtime
==
NULL
)
{
ret
=
sscanf
(
envstr
,
"%lf"
,
&
tmpfloat
);
...
...
@@ -463,7 +463,7 @@ void dxt_mpiio_runtime_initialize()
memset
(
dxt_mpiio_runtime
,
0
,
sizeof
(
*
dxt_mpiio_runtime
));
/* set the memory quota for DXT, if it has not been initialized */
envstr
=
getenv
(
"ENABLE_
DXT_
IO_TRACE
_MEM
"
);
envstr
=
getenv
(
"
DXT_
ENABLE_IO_TRACE"
);
if
(
envstr
&&
dxt_posix_runtime
==
NULL
)
{
ret
=
sscanf
(
envstr
,
"%lf"
,
&
tmpfloat
);
...
...
darshan-runtime/lib/darshan-mpiio.c
View file @
8821f33d
...
...
@@ -862,7 +862,7 @@ static void mpiio_runtime_initialize()
memset
(
mpiio_runtime
,
0
,
sizeof
(
*
mpiio_runtime
));
/* check if DXT (Darshan extended tracing) should be enabled */
if
(
getenv
(
"ENABLE_
DXT_
IO_TRACE
_MEM
"
))
{
if
(
getenv
(
"
DXT_
ENABLE_IO_TRACE"
))
{
enable_dxt_io_trace
=
1
;
}
...
...
darshan-runtime/lib/darshan-posix.c
View file @
8821f33d
...
...
@@ -1291,7 +1291,7 @@ static void posix_runtime_initialize()
memset
(
posix_runtime
,
0
,
sizeof
(
*
posix_runtime
));
/* check if DXT (Darshan extended tracing) should be enabled */
if
(
getenv
(
"ENABLE_
DXT_
IO_TRACE
_MEM
"
))
{
if
(
getenv
(
"
DXT_
ENABLE_IO_TRACE"
))
{
enable_dxt_io_trace
=
1
;
}
...
...
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