39 #include <gtest/gtest.h> 51 std::this_thread::sleep_for(std::chrono::milliseconds(500));
55 std::this_thread::sleep_for(std::chrono::milliseconds(500));
64 std::this_thread::sleep_for(std::chrono::milliseconds(500));
74 int main(
int argc,
char* argv[])
76 ::testing::InitGoogleTest(&argc, argv);
77 return RUN_ALL_TESTS();
static void Begin(const std::string &name)
Begin counting time for a specific chunk of code.
GTEST_TEST(FCL_PROFILER, basic)
static void End(const std::string &name)
Stop counting time for a specific chunk of code.
static void Status(std::ostream &out=std::cout, bool merge=true)
Print the status of the profiled code chunks and events. Optionally, computation done by different th...
static void Start(void)
Start counting time.
int main(int argc, char *argv[])
static void Stop(void)
Stop counting time.