MCPcopy Create free account
hub / github.com/catboost/catboost / Flush

Method Flush

library/cpp/lfalloc/lf_allocX64.h:1082–1088  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1080 }
1081
1082 Y_FORCE_INLINE void Flush(TPerTagAllocCounter& parent) {
1083 AtomicAdd(parent.Size, Size);
1084 Size = 0;
1085 AtomicAdd(parent.Count, Count);
1086 Count = 0;
1087 Updates = 0;
1088 }
1089};
1090
1091static const int DBG_ALLOC_MAX_TAG = 1000;

Callers

nothing calls this directly

Calls 1

AtomicAddFunction · 0.70

Tested by

no test coverage detected