From ea5508a69931dd98cefd94f97a9c8f122b464ba2 Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Fri, 28 Jul 2017 17:08:04 -0700 Subject: [PATCH] Perf can now be serialized --- src/performance.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/performance.h b/src/performance.h index 7b8bc376..46fcc731 100644 --- a/src/performance.h +++ b/src/performance.h @@ -1,5 +1,7 @@ #pragma once +#include "serializer.h" + // Contains timing information for the entire pipeline for importing a file // into the querydb. struct PerformanceImportFile { @@ -21,4 +23,5 @@ struct PerformanceImportFile { //long long querydb_update_working_file = 0; // [querydb] apply IndexUpdate //long long querydb_apply_index_update = 0; -}; \ No newline at end of file +}; +MAKE_REFLECT_STRUCT(PerformanceImportFile, index_parse, index_build, querydb_id_map, index_save_to_disk, index_load_cached, index_make_delta); \ No newline at end of file