8 #ifndef K_FIRESYNC_PROFILE_PROBE_H
9 #define K_FIRESYNC_PROFILE_PROBE_H
23 #include <kFireSync/Health/kProfileProbe.x.h>
56 # if defined(K_PROFILE)
62 return xkProfileProbe_ConstructImpl(probe,
kNULL, name, allocator);
79 # if defined(K_PROFILE)
83 return xkProfileProbe_ConstructImpl(probe, sanitizedProvider, name, allocator);
87 return xkProfileProbe_ConstructImpl(probe,
kNULL, name, allocator);
100 # if defined(K_PROFILE)
102 xkProfileProbe_VTable(probe)->VStart(probe);
115 # if defined(K_PROFILE)
117 xkProfileProbe_VTable(probe)->VStop(probe);
135 # if defined(K_PROFILE)
137 xkProfileProbe_VTable(probe)->VStartEx(probe, context);
151 # if defined(K_PROFILE)
153 xkProfileProbe_VTable(probe)->VStopEx(probe, context);
void kProfileProbe_StopEx(kProfileProbe probe, kProfileContext *context)
Ends a thread-safe code profiling measurement.
Definition: kProfileProbe.h:149
Context information for a code profiling measurement.
void kProfileProbe_StartEx(kProfileProbe probe, kProfileContext *context)
Begins a thread-safe code profiling measurement.
Definition: kProfileProbe.h:133
const kChar * kProfileProbe_Name(kProfileProbe probe)
Reports the name of the profile probe.
Definition: kProfileProbe.h:165
Essential declarations related to FireSync nodes.
kHealth kFsLib_HealthProvider()
Gets the global health provider, if it exists.
Base class for a health statistics collection service.
#define kObj(TypeName_T, T_object)
Represents a code profiling probe.
void kProfileProbe_Start(kProfileProbe probe)
Begins a code profiling measurement.
Definition: kProfileProbe.h:98
kStatus kProfileProbe_ConstructEx(kProfileProbe *probe, kHealth provider, const kChar *name, kAlloc allocator)
Constructs a kProfileProbe object attached to the specified health provider.
Definition: kProfileProbe.h:77
void kProfileProbe_Stop(kProfileProbe probe)
Ends a code profiling measurement.
Definition: kProfileProbe.h:113
kStatus kProfileProbe_Construct(kProfileProbe *probe, const kChar *name, kAlloc allocator)
Constructs a kProfileProbe object attached to the default health provider.
Definition: kProfileProbe.h:54