A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another bunch of int -> size_t conversion.
[simgrid.git]
/
src
/
instr
/
instr_private.hpp
diff --git
a/src/instr/instr_private.hpp
b/src/instr/instr_private.hpp
index
61f2e68
..
41f0467
100644
(file)
--- a/
src/instr/instr_private.hpp
+++ b/
src/instr/instr_private.hpp
@@
-119,13
+119,13
@@
public:
// CollTI: bcast, reduce, allreduce, gather, scatter, allgather, alltoall
class CollTIData : public TIData {
int root_;
// CollTI: bcast, reduce, allreduce, gather, scatter, allgather, alltoall
class CollTIData : public TIData {
int root_;
-
in
t send_size_;
-
in
t recv_size_;
+
size_
t send_size_;
+
size_
t recv_size_;
std::string send_type_;
std::string recv_type_;
public:
std::string send_type_;
std::string recv_type_;
public:
- CollTIData(const std::string& name, int root, double amount,
int send_size, in
t recv_size,
+ CollTIData(const std::string& name, int root, double amount,
size_t send_size, size_
t recv_size,
const std::string& send_type, const std::string& recv_type)
: TIData(name, amount)
, root_(root)
const std::string& send_type, const std::string& recv_type)
: TIData(name, amount)
, root_(root)
@@
-138,7
+138,7
@@
public:
{
std::stringstream stream;
stream << get_name() << " " << send_size_ << " ";
{
std::stringstream stream;
stream << get_name() << " " << send_size_ << " ";
- if (recv_size_ >
=
0)
+ if (recv_size_ > 0)
stream << recv_size_ << " ";
if (get_amount() >= 0.0)
stream << get_amount() << " ";
stream << recv_size_ << " ";
if (get_amount() >= 0.0)
stream << get_amount() << " ";