Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Oct 18, 2024
1 parent 923a116 commit a053691
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ namespace wrench {
action->getName().c_str(),
action->getExecutionHistory().top().execution_host.c_str(),
action->getExecutionHistory().top().physical_execution_host.c_str());
WRENCH_INFO(" - it used %lu cores for computation, and %luu bytes of RAM",
WRENCH_INFO(" - it used %lu cores for computation, and %llu bytes of RAM",
action->getExecutionHistory().top().num_cores_allocated,
action->getExecutionHistory().top().ram_allocated);
WRENCH_INFO(" - it started at time %.2lf and finished at time %.2lf",
Expand Down
2 changes: 1 addition & 1 deletion tools/wrench/wrench-daemon/src/SimulationController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ namespace wrench {
sg_size_t num_bytes_to_read = data["num_bytes_to_read"];

shared_ptr<FileReadAction> action;
if (num_bytes_to_read == -1) {
if (num_bytes_to_read == 0) {
action = compound_job->addFileReadAction(file_read_action_name, file, ss);
} else {
action = compound_job->addFileReadAction(file_read_action_name, file, ss, num_bytes_to_read);
Expand Down

0 comments on commit a053691

Please sign in to comment.