SpiecsEngine
 
Loading...
Searching...
No Matches
Instrumentor.h File Reference
#include <Core/Core.h>
#include <algorithm>
#include <chrono>
#include <fstream>
#include <iomanip>
#include <string>
#include <thread>
#include <mutex>
#include <sstream>

Go to the source code of this file.

Classes

struct  SpicesTest::ProfileResult
 
struct  SpicesTest::InstrumentationSession
 
class  SpicesTest::Instrumentor
 
class  SpicesTest::InstrumentationTimer
 
struct  SpicesTest::InstrumentorUtils::ChangeResult< N >
 

Namespaces

namespace  SpicesTest
 
namespace  SpicesTest::InstrumentorUtils
 

Macros

#define SPICES_PROFILE   1
 
#define SPICES_FUNC_SIG   "SPICES_FUNC_SIG unknown!"
 
#define SPICESTEST_PROFILE_BEGIN_SESSION(name, filepath)   ::SpicesTest::Instrumentor::Get().BeginSession(name, filepath)
 
#define SPICESTEST_PROFILE_END_SESSION()   ::SpicesTest::Instrumentor::Get().EndSession()
 
#define SPICESTEST_PROFILE_SCOPE_LINE2(name, line)
 
#define SPICESTEST_PROFILE_SCOPE_LINE(name, line)   SPICESTEST_PROFILE_SCOPE_LINE2(name, line)
 
#define SPICESTEST_PROFILE_SCOPE(name)   SPICESTEST_PROFILE_SCOPE_LINE(name, __LINE__)
 
#define SPICESTEST_PROFILE_FUNCTION()   SPICESTEST_PROFILE_SCOPE(SPICES_FUNC_SIG)
 

Typedefs

using SpicesTest::FloatingPointMicroseconds = std::chrono::duration<double, std::micro>
 

Functions

template<size_t N, size_t K>
constexpr auto SpicesTest::InstrumentorUtils::CleanupOutputString (const char(&expr)[N], const char(&remove)[K])