Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ peak
Method
peak
gecode/support/heap.hpp:668–674 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
666
667
#ifdef GECODE_PEAKHEAP
668
forceinline size_t
669
Heap::peak(void) {
670
_m.acquire();
671
size_t ret = _peak;
672
_m.release();
673
return ret;
674
}
675
#endif
676
677
}
Callers
1
runMeta
Method · 0.80
Calls
2
acquire
Method · 0.45
release
Method · 0.45
Tested by
no test coverage detected