MCPcopy Create free account
hub / github.com/andrewkchan/deepseek.cpp / ProfileDisabledScope

Method ProfileDisabledScope

src/profile.cpp:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46#endif
47
48ProfileDisabledScope::ProfileDisabledScope() {
49 _was_enabled = get_profile_enabled();
50 set_profile_enabled(false);
51}
52
53ProfileDisabledScope::~ProfileDisabledScope() {
54 set_profile_enabled(_was_enabled);

Callers

nothing calls this directly

Calls 2

get_profile_enabledFunction · 0.85
set_profile_enabledFunction · 0.85

Tested by

no test coverage detected