MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / xnProfilingInitFromINI

Function xnProfilingInitFromINI

Source/OpenNI/XnProfiling.cpp:160–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160XN_C_API XnStatus xnProfilingInitFromINI(const XnChar* cpINIFileName, const XnChar* cpSectionName)
161{
162 XnStatus nRetVal = XN_STATUS_OK;
163
164 XnUInt32 nProfilingInterval = 0;
165 xnOSReadIntFromINI(cpINIFileName, cpSectionName, "ProfilingInterval", &nProfilingInterval);
166
167 nRetVal = xnProfilingInit(nProfilingInterval);
168 XN_IS_STATUS_OK(nRetVal);
169
170 return XN_STATUS_OK;
171}
172
173XN_C_API XnStatus xnProfilingShutdown()
174{

Callers

nothing calls this directly

Calls 2

xnProfilingInitFunction · 0.85
xnOSReadIntFromINIFunction · 0.50

Tested by

no test coverage detected