search for: print_cp_result_simpl

Displaying 2 results from an estimated 2 matches for "print_cp_result_simpl".

Did you mean: print_cp_result_simple
2010 Mar 18
0
[MODULE] COM32 module to time null-dumping a file
...printf(" ~%d ticks per second; %d\n", (int)tps, (BUFSZ)); + print_cp_result_tick(bcnt, (ec - bc), tps, 0); + print_cp_result_tick(bcnt, (ec - bc), tps, 1); + print_cp_result_tick(bcnt, (ec - bc), tps, -1); +} /* void print_cp_result(char *fn, int bcnt, clock_t bc, clock_t ec) */ + +void print_cp_result_simple(char *fn, int bcnt, clock_t bc, clock_t ec) +{ + printf(" %dB %dt %dx '%s'\n", bcnt, (int)(ec - bc), (BUFSZ), fn); +} /* void print_cp_result_simple(char *fn, int bcnt, clock_t bc, clock_t ec) */ + +int time_copy(char *fn, char do_simple) +{ + int fd, rv = 0; + int bcnt; + int...
2010 Mar 20
1
[MODULE] COM32 module to time null-dumping a file, v1.1
...ticks per second; %dB block/transfer size\n", (int)tps, bufsz); + print_cp_result_tick(bcnt, (ec - bc), tps, 0); + print_cp_result_tick(bcnt, (ec - bc), tps, 1); + print_cp_result_tick(bcnt, (ec - bc), tps, -1); +} /* void print_cp_result(char *fn, int bcnt, clock_t bc, clock_t ec) */ + +void print_cp_result_simple(char *fn, int bcnt, clock_t bc, clock_t ec, int bufsz) +{ + printf(" %dB %dt %dx '%s'\n", bcnt, (int)(ec - bc), bufsz, fn); +} /* void print_cp_result_simple(char *fn, int bcnt, clock_t bc, clock_t ec) */ + +int time_copy(char *fn, char do_simple, int bufsz) +{ + int fd, rv = 0...