| author | |
| committer | |
| log | 008e42f48351453b2174b361847c5470e6216fa5 |
| tree | d6494c15416f2881c5ff06db35ff687a64ccdec0 |
| parent | 525b1e8fb4abc38143a6ae47272fd5d016ba7eeb |
2 files changed, 2 insertions(+), 2 deletions(-)
lib/std/hash/benchmark.zig+1-1| ... | @@ -181,7 +181,7 @@ fn printPad(stdout: var, s: []const u8) !void { | ... | @@ -181,7 +181,7 @@ fn printPad(stdout: var, s: []const u8) !void { |
| 181 | } | 181 | } |
| 182 | 182 | ||
| 183 | pub fn main() !void { | 183 | pub fn main() !void { |
| 184 | var stdout_file = try std.io.getStdOut(); | 184 | var stdout_file = std.io.getStdOut(); |
| 185 | var stdout_out_stream = stdout_file.outStream(); | 185 | var stdout_out_stream = stdout_file.outStream(); |
| 186 | const stdout = &stdout_out_stream.stream; | 186 | const stdout = &stdout_out_stream.stream; |
| 187 | 187 |
lib/std/zig/perf_test.zig+1-1| ... | @@ -23,7 +23,7 @@ pub fn main() !void { | ... | @@ -23,7 +23,7 @@ pub fn main() !void { |
| 23 | const bytes_per_sec = @intToFloat(f64, source.len * iterations) / elapsed_s; | 23 | const bytes_per_sec = @intToFloat(f64, source.len * iterations) / elapsed_s; |
| 24 | const mb_per_sec = bytes_per_sec / (1024 * 1024); | 24 | const mb_per_sec = bytes_per_sec / (1024 * 1024); |
| 25 | 25 | ||
| 26 | var stdout_file = try std.io.getStdOut(); | 26 | var stdout_file = std.io.getStdOut(); |
| 27 | const stdout = &stdout_file.outStream().stream; | 27 | const stdout = &stdout_file.outStream().stream; |
| 28 | try stdout.print("{:.3} MiB/s, {} KiB used \n", mb_per_sec, memory_used / 1024); | 28 | try stdout.print("{:.3} MiB/s, {} KiB used \n", mb_per_sec, memory_used / 1024); |
| 29 | } | 29 | } |