summaryrefslogtreecommitdiff
path: root/src/basic/limits-util.h
blob: 77895cbad480d170361e1eee1376b4e308bfa380 (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

#include <inttypes.h>

uint64_t physical_memory(void);
uint64_t physical_memory_scale(uint64_t v, uint64_t max);

uint64_t system_tasks_max(void);
uint64_t system_tasks_max_scale(uint64_t v, uint64_t max);