From ca183c796fbbd5482d369d04e318076caf2c2435 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sat, 19 Nov 2022 16:28:02 -0800 Subject: Flush pt output after every event. I feel like this is a bad decision that we have already learned about in quack, but whatever. --- infra/pipetrace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'infra/pipetrace.h') diff --git a/infra/pipetrace.h b/infra/pipetrace.h index 656b9b9..670533b 100644 --- a/infra/pipetrace.h +++ b/infra/pipetrace.h @@ -31,7 +31,7 @@ namespace infra { static void event(const transaction &t, const char *event, std::uint64_t time, const std::string &data) { if (ptfile) - *ptfile << fmt::format("@{} {} {} {}\n", time, t.record, event, data); + *ptfile << fmt::format("@{} {} {} {}\n", time, t.record, event, data) << std::flush; } }; } -- cgit v1.2.3