WSF
ProfilingHooks.hpp File Reference
#include "profiling_export.h"
#include <cstdint>
#include <string>
#include <UtOptional.hpp>
#include "ProfilingCommon.hpp"
Include dependency graph for ProfilingHooks.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  profiling::ProfilingHooks
 Set of all function pointers used for profiling. More...

Namespaces

namespace  profiling
 Definition of utility struct and function used by the profiling targets.

Typedefs

using profiling::ProfilingInterfaceVersionFunc = uint64_t (*)()
 Type of a callback for getting the version number of the profiling interface that the library provides.
using profiling::ProfilingInitializeFunc = int32_t (*)(const char*)
 Type of a callback for initializing the profiling library.
using profiling::BeginProfilingRegionFunc = void (*)(const char*)
 Type of a callback for beginning a profiling region.
using profiling::EndProfilingRegionFunc = void (*)()
 Type of a callback for ending a profiling region that was previously begun.
using profiling::CreateProfilingSectionFunc = uint32_t (*)(const char*)
 Type of a callback for creating a profiling section.
using profiling::DestroyProfilingSectionFunc = void (*)(uint32_t)
 Type of a callback for destroying a profiling section.
using profiling::BeginProfilingSectionFunc = void (*)(uint32_t)
 Type of a callback for beginning a profiling section.
using profiling::EndProfilingSectionFunc = void (*)(uint32_t)
 Type of a callback for ending a profiling section that was previously begun.
using profiling::ProfilingFinalizeFunc = void (*)()
 Type of a callback for finalizing the profiling library.

Variables

constexpr const char profiling::cPROFILING_INTERFACE_VERSION_SYMBOL [] = "AfsimProfilingInterfaceVersion"
 Name of symbol (to load from shared library) for the callback that gets the version number of the profiling interface.
constexpr const char profiling::cPROFILING_INITIALIZE_SYMBOL [] = "AfsimProfilingInitialize"
 Name of symbol (to load from shared library) for the callback that initializes the profiling library.
constexpr const char profiling::cPROFILING_BEGIN_REGION_SYMBOL [] = "AfsimProfilingBeginRegion"
 Name of symbol (to load from shared library) for the callback that begins a profiling region.
constexpr const char profiling::cPROFILING_END_REGION_SYMBOL [] = "AfsimProfilingEndRegion"
 Name of symbol (to load from shared library) for the callback that ends a profiling region that was previously begun.
constexpr const char profiling::cPROFILING_CREATE_SECTION_SYMBOL [] = "AfsimProfilingCreateSection"
 Name of symbol (to load from shared library) for the callback that creates a profiling section.
constexpr const char profiling::cPROFILING_DESTROY_SECTION_SYMBOL [] = "AfsimProfilingDestroySection"
 Name of symbol (to load from shared library) for the callback that destroys a profiling section.
constexpr const char profiling::cPROFILING_BEGIN_SECTION_SYMBOL [] = "AfsimProfilingBeginSection"
 Name of symbol (to load from shared library) for the callback that begins a profiling section.
constexpr const char profiling::cPROFILING_END_SECTION_SYMBOL [] = "AfsimProfilingEndSection"
 Name of symbol (to load from shared library) for the callback that ends a profiling section that was previously begun.
constexpr const char profiling::cPROFILING_FINALIZE_SYMBOL [] = "AfsimProfilingFinalize"
 Name of symbol (to load from shared library) for the callback that finalizes the profiling library.
Copyrights Multiple, All Rights Reserved