Loading prrt/time-sender.c +1 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,7 @@ int main(int argc, char **argv) { uint32_t j = 0; uint16_t buffer_size = arguments.size; char* buf = calloc(buffer_size, sizeof(char)); assert(sizeof(buf) >= 2* sizeof(struct timespec) + 20); assert(buffer_size * sizeof(char) >= 2* sizeof(struct timespec) + 20); while (j < rounds) { struct timespec now; clock_gettime(CLOCK_REALTIME, &now); Loading Loading
prrt/time-sender.c +1 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,7 @@ int main(int argc, char **argv) { uint32_t j = 0; uint16_t buffer_size = arguments.size; char* buf = calloc(buffer_size, sizeof(char)); assert(sizeof(buf) >= 2* sizeof(struct timespec) + 20); assert(buffer_size * sizeof(char) >= 2* sizeof(struct timespec) + 20); while (j < rounds) { struct timespec now; clock_gettime(CLOCK_REALTIME, &now); Loading