From 78bccfd7a54329f17918b0eddf179e31f248731a Mon Sep 17 00:00:00 2001 From: etotheipi Date: Sat, 8 Oct 2011 19:51:06 -0400 Subject: [PATCH] Fixed segfault, GUI autoupdates if blkfile chnges --- cppForSwig/BlockUtilsTest.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cppForSwig/BlockUtilsTest.cpp b/cppForSwig/BlockUtilsTest.cpp index cbad404dc..bb49d1c18 100644 --- a/cppForSwig/BlockUtilsTest.cpp +++ b/cppForSwig/BlockUtilsTest.cpp @@ -169,6 +169,13 @@ int main(void) */ + ///////////////////////////////////////////////////////////////////////////// + // ***** Print out all timings to stdout and a csv file ***** + // This file can be loaded into a spreadsheet, + // but it's not the prettiest thing... + UniversalTimer::instance().print(); + UniversalTimer::instance().printCSV("timings.csv"); + cout << endl << endl; char aa[256]; @@ -186,12 +193,6 @@ int main(void) - ///////////////////////////////////////////////////////////////////////////// - // ***** Print out all timings to stdout and a csv file ***** - // This file can be loaded into a spreadsheet, - // but it's not the prettiest thing... - UniversalTimer::instance().print(); - UniversalTimer::instance().printCSV("timings.csv"); char pause[256];