38 {
39 bool currentlyEnabled = EnProfiler.IsEnabledP();
40 EnProfiler.Enable(!currentlyEnabled);
41 if (
Assert(currentlyEnabled != EnProfiler.IsEnabledP()))
42 {
43 EnProfiler.Enable(currentlyEnabled);
44 return BTFR(
Assert(currentlyEnabled == EnProfiler.IsEnabledP()));
45 }
46
48 }
TFResult NTFR(TFR result)
bool Assert(bool condition)
TFResult BTFR(bool result)