taskmalloctrim.h 649 B

1234567891011121314151617181920
  1. //
  2. // Copyright (c) 2017-2026, Manticore Software LTD (https://manticoresearch.com)
  3. // Copyright (c) 2001-2016, Andrew Aksyonoff
  4. // Copyright (c) 2008-2016, Sphinx Technologies Inc
  5. // All rights reserved
  6. //
  7. // This program is free software; you can redistribute it and/or modify
  8. // it under the terms of the GNU General Public License. You should have
  9. // received a copy of the GPL license along with this program; if you
  10. // did not, you can find it at http://www.gnu.org/
  11. //
  12. #pragma once
  13. #include "sphinxutils.h"
  14. constexpr int64_t DEFAULT_MALLOC_TRIM_PERIOD = 30*60*1000000ll;
  15. void ScheduleMallocTrim ();
  16. int PerformMallocTrim ( size_t iPad );