Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix return type.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 4 Jul 2020 12:32:06 +0000 (14:32 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 4 Jul 2020 20:36:15 +0000 (22:36 +0200)
src/plugins/dirty_page_tracking.cpp
teshsuite/smpi/macro-partial-shared-communication/macro-partial-shared-communication.c
teshsuite/smpi/macro-partial-shared/macro-partial-shared.c

index daaba85..db04237 100644 (file)
@@ -31,7 +31,7 @@ public:
   double computed_flops_lookup();
   double get_intensity() const { return dp_intensity_; }
   void set_intensity(double intensity) { dp_intensity_ = intensity; }
-  double get_working_set_memory() const { return working_set_memory_; }
+  sg_size_t get_working_set_memory() const { return working_set_memory_; }
   void set_working_set_memory(sg_size_t size) { working_set_memory_ = size; }
   void set_migration_speed(double speed) { mig_speed_ = speed; }
   double get_migration_speed() const { return mig_speed_; }
index a4088a2..5b537dc 100644 (file)
@@ -17,7 +17,7 @@ static void set(uint8_t *buf, size_t start, size_t stop, uint8_t value) {
 }
 
 // Return the number of times that an element is equal to (i+value)%256 between buf[start] and buf[stop-1].
-static int count_all(const uint8_t* buf, size_t start, size_t stop, uint8_t value)
+static size_t count_all(const uint8_t* buf, size_t start, size_t stop, uint8_t value)
 {
   size_t occ = 0;
   for(size_t i = start ; i < stop ; i++) {
index 1a255df..e378b5a 100644 (file)
@@ -16,7 +16,7 @@ static void set(uint8_t *buf, size_t start, size_t stop, uint8_t value) {
 }
 
 // Return the number of times that an element is equal to (i+value)%256 between buf[start] and buf[stop-1].
-static int count_all(const uint8_t* buf, size_t start, size_t stop, uint8_t value)
+static size_t count_all(const uint8_t* buf, size_t start, size_t stop, uint8_t value)
 {
   size_t occ = 0;
   for(size_t i = start ; i < stop ; i++) {