190 {
191
193
194
197 {
199 }
200
201
204 {
206 }
207
209 {
211 }
212
213
216
218 {
221 }
222
223
226
227
228
230
231
234
235
240
241
243
244
246 {
248
251
253
255 }
256
258 {
260
263
265
267 }
268
269
271
272
273 for (
int i = 0;
i < 1000; ++
i)
274 {
276 }
277
278
282
283 Debug.
TFLog(
"Game fncs:",
this,
"TestModule");
284
287 {
289 Debug.
TFLog(
string.Format(
" time: %1 | fnc: %2",
tfp.param1,
tfp.param2),
this,
"TestModule");
290
291 if (!
Assert(
tfp.param2 !=
"EnumTools::StringToEnum"))
292 {
294
297
299
301 }
302 }
303
306
309 {
313 {
315
318
320
322 }
323
324
326 {
328
331
333
335 }
336 }
337
338
343
345
346 Debug.
TFLog(
"Core fncs:",
this,
"TestModule");
347
350 {
352 Debug.
TFLog(
string.Format(
" time: %1 | fnc: %2",
tfpc.param1,
tfpc.param2),
this,
"TestModule");
353
354 if (
tfpc.param2 ==
"EnumTools::StringToEnum")
355 {
357 break;
358 }
359 }
360
362
363
369
372
375
377 }
TFResult BTFR(bool result)
Definition TestFramework.c:278
float Sleep(float timeS)
Definition EnProfilerTests.c:707
static proto EnProfilerModule GetModule()
Get the currently profiled module.
static proto void ResetSession(bool fullReset=false)
Perform [SR], clearing SessionFrame, ProfiledSessionFrames, [SD] and [PD] (except for [CI])
static proto void GetTimePerFunc(notnull out array< ref EnProfilerTimeFuncPair > outArr, int count=int.MAX)
Obtain [SD] for Time Per Function.
static proto void SetModule(EnProfilerModule module, bool sessionReset=true)
Set the module to be profiled.
static proto void GetTimePerClass(notnull out array< ref EnProfilerTimeClassPair > outArr, int count=int.MAX)
Obtain [SD] for Time Per Class.
static proto bool NameToModule(string moduleName, out EnProfilerModule module)
Convert string to EnProfilerModule.
static proto void SortData()
The internal sorting that happens at the end of the frame (so it is NOT necessary to call this manual...
EnProfilerModule
Current base scripted modules.
Definition EnProfiler.c:22