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
mpim-sw
libcdi
Commits
2decc00c
Commit
2decc00c
authored
Jul 25, 2012
by
Thomas Jahns
🤸
Browse files
Convert only temporarily used variable startTime into automatic storage.
parent
f57e5cc1
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/pio.c
View file @
2decc00c
...
...
@@ -24,7 +24,6 @@ long initial_buffersize = 16 * 1024 * 1024;
int
tagKey
=
100
;
int
maxErrorString
=
100
;
double
startTime
;
double
accumProbe
=
0
.
0
;
double
accumRecv
=
0
.
0
;
double
accumSend
=
0
.
0
;
...
...
src/pio_mpinonb.c
View file @
2decc00c
...
...
@@ -19,7 +19,6 @@ extern char * command2charP[6];
extern
long
initial_buffersize
;
extern
int
maxErrorString
;
extern
double
startTime
;
extern
double
accumProbe
;
extern
double
accumRecv
;
extern
double
accumSend
;
...
...
@@ -89,6 +88,7 @@ int destroyAFiledataMPINONB ( void *v )
aFiledataM
*
of
;
MPI_Status
status
;
int
rankNode
=
commInqRankNode
();
double
startTime
;
of
=
(
aFiledataM
*
)
v
;
...
...
src/pio_posixasynch.c
View file @
2decc00c
...
...
@@ -33,7 +33,6 @@ extern long initial_buffersize;
extern
char
*
token
;
extern
int
maxErrorString
;
extern
double
startTime
;
extern
double
accumProbe
;
extern
double
accumRecv
;
extern
double
accumSend
;
...
...
@@ -192,6 +191,7 @@ int destroyBFiledataPA ( void *v )
ssize_t
ssiret
;
int
nextFinishOp
=
(
bfd
->
nextOpIndex
-
bfd
->
prefIndex
+
nPrefStreams
)
%
nPrefStreams
;
double
startTime
;
xdebug
(
"filename=%s, cleanup and close file"
,
bfd
->
name
);
...
...
@@ -282,6 +282,7 @@ writePA(bFiledataPA *bfd, long amount)
{
const
struct
aiocb
*
ccBP
[
1
];
int
iret
;
double
startTime
;
xdebug
(
"file %s, in"
,
bfd
->
name
);
...
...
@@ -555,6 +556,7 @@ sendPA(aFiledataPA *afd, int id)
int
tag
;
long
amount
;
MPI_Status
status
;
double
startTime
;
amount
=
(
long
)
dbuffer_data_size
(
afd
->
db
);
tag
=
setTag
(
id
,
afd
->
command
);
...
...
src/pio_posixfpguardsendrecv.c
View file @
2decc00c
...
...
@@ -26,7 +26,6 @@ extern char * command2charP[6];
extern
long
initial_buffersize
;
extern
int
maxErrorString
;
extern
double
startTime
;
extern
double
accumProbe
;
extern
double
accumRecv
;
extern
double
accumSend
;
...
...
src/pio_posixnonb.c
View file @
2decc00c
...
...
@@ -21,7 +21,6 @@ extern long initial_buffersize;
extern
char
*
token
;
extern
int
maxErrorString
;
extern
double
startTime
;
extern
double
accumProbe
;
extern
double
accumRecv
;
extern
double
accumSend
;
...
...
@@ -459,6 +458,7 @@ sendP(aFiledataP *afd, int id)
int
tag
;
size_t
amount
;
MPI_Status
status
;
double
startTime
;
amount
=
dbuffer_data_size
(
afd
->
db
);
tag
=
setTag
(
id
,
afd
->
command
);
...
...
Write
Preview
Supports
Markdown
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