FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kProfileProbe.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_PROFILE_PROBE_H
9 #define K_FIRESYNC_PROFILE_PROBE_H
10 
11 #include <kFireSync/kNodeDef.h>
12 
13 kBeginHeader()
14 
15 
22 typedef k64u kProfileContext;
23 
42 //typedef kObject kProfileProbe; --forward-declared in kFsDef.x.h
43 
53 kFsFx(kStatus) kProfileProbe_Construct(kProfileProbe* probe, const kChar* name, kAlloc allocator);
54 
65 kFsFx(kStatus) kProfileProbe_ConstructEx(kProfileProbe* probe, kHealth provider, const kChar* name, kAlloc allocator);
66 
73 kFsFx(void) kProfileProbe_Start(kProfileProbe probe);
74 
81 kFsFx(void) kProfileProbe_Stop(kProfileProbe probe);
82 
94 kFsFx(void) kProfileProbe_StartEx(kProfileProbe probe, kProfileContext* context);
95 
103 kFsFx(void) kProfileProbe_StopEx(kProfileProbe probe, kProfileContext* context);
104 
106 #define kProfileProbe_Start_(P) kxProfileProbe_Start_(P)
107 #define kProfileProbe_Stop_(P) kxProfileProbe_Stop_(P)
108 
109 #define kProfileProbe_StartEx_(P, C) kxProfileProbe_StartEx_(P, C)
110 #define kProfileProbe_StopEx_(P, C) kxProfileProbe_StopEx_(P, C)
111 
112 
114 kEndHeader()
115 
116 #include <kFireSync/Health/kProfileProbe.x.h>
117 
118 #endif
119 
120 
void kProfileProbe_StopEx(kProfileProbe probe, kProfileContext *context)
Ends a thread-safe code profiling measurement.
Context information for a code profiling measurement.
void kProfileProbe_StartEx(kProfileProbe probe, kProfileContext *context)
Begins a thread-safe code profiling measurement.
Essential declarations related to FireSync nodes.
Base class for a health statistics collection service.
Represents a code profiling probe.
void kProfileProbe_Start(kProfileProbe probe)
Begins a code profiling measurement.
kStatus kProfileProbe_ConstructEx(kProfileProbe *probe, kHealth provider, const kChar *name, kAlloc allocator)
Constructs a kProfileProbe object attached to the specified health provider.
void kProfileProbe_Stop(kProfileProbe probe)
Ends a code profiling measurement.
kStatus kProfileProbe_Construct(kProfileProbe *probe, const kChar *name, kAlloc allocator)
Constructs a kProfileProbe object attached to the default health provider.