FreeCalypso > hg > freecalypso-tools
comparison loadtools/ltdump.c @ 692:185c9bf208d3
loadtools operation time reporting: two digits for seconds
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 11 Mar 2020 04:15:45 +0000 |
parents | 141372e0d28f |
children |
comparison
equal
deleted
inserted
replaced
691:8bea9cdd8a89 | 692:185c9bf208d3 |
---|---|
175 return(-1); | 175 return(-1); |
176 } | 176 } |
177 duration = dump_last_time - dump_initial_time; | 177 duration = dump_last_time - dump_initial_time; |
178 mm = duration / 60; | 178 mm = duration / 60; |
179 ss = duration - mm * 60; | 179 ss = duration - mm * 60; |
180 printf("Dump stream received in %um%us\n", mm, ss); | 180 printf("Dump stream received in %um%02us\n", mm, ss); |
181 | 181 |
182 printf("Requesting another CRC-32 of the area from target...\n"); | 182 printf("Requesting another CRC-32 of the area from target...\n"); |
183 rc = crc32_on_target(start_addr, area_len, &target_crc_fin); | 183 rc = crc32_on_target(start_addr, area_len, &target_crc_fin); |
184 if (rc) | 184 if (rc) |
185 return(rc); | 185 return(rc); |