/dports/x11/waybar/Waybar-0.9.12/src/modules/memory/ |
H A D | common.cpp | 14 unsigned long memtotal = meminfo_["MemTotal"]; in update() local 33 if (memtotal > 0 && memfree >= 0) { in update() 34 auto total_ram_gigabytes = memtotal / std::pow(1024, 2); in update() 36 int used_ram_percentage = 100 * (memtotal - memfree) / memtotal; in update() 41 auto used_ram_gigabytes = (memtotal - memfree) / std::pow(1024, 2); in update()
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/hardware/memory/ |
H A D | memory_linux.c | 27 unsigned long memtotal = 0, memfree = 0, memshared = 0, in netsnmp_mem_arch_load() local 79 sscanf(b, "MemTotal: %lu", &memtotal); in netsnmp_mem_arch_load() 149 mem->size = memtotal; in netsnmp_mem_arch_load() 161 mem->size = memtotal+swaptotal; in netsnmp_mem_arch_load() 209 mem->size = memtotal; /* Traditionally we've always regarded in netsnmp_mem_arch_load() 212 mem->free = memtotal - buffers; in netsnmp_mem_arch_load()
|
/dports/devel/libgtop/libgtop-2.40.0/sysdeps/freebsd/ |
H A D | mem.c | 81 gulong memtotal; in glibtop_get_mem_s() local 93 memtotal = mem_get_by_bytes (server, "hw.physmem"); in glibtop_get_mem_s() 104 buf->total = memtotal; in glibtop_get_mem_s() 105 buf->used = memtotal - memfree; in glibtop_get_mem_s()
|
/dports/math/suitesparse-klu/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-csparse/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-graphblas/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-ldl/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-btf/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-amd/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-slip_lu/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-mongoose/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-rbio/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-config/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-ccolamd/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-colamd/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-cholmod/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-spqr/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-camd/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-umfpack/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/math/suitesparse-cxsparse/SuiteSparse-5.10.1/GraphBLAS/CUDA/ |
H A D | GB_cuda_get_device_properties.cu | 69 size_t memfree, memtotal; in GB_cuda_get_device_properties() local 82 CHECK_CUDA_SIMPLE ( cudaMemGetInfo( & memfree, &memtotal) ) ; in GB_cuda_get_device_properties() 85 prop->total_global_memory = memtotal; in GB_cuda_get_device_properties()
|
/dports/sysutils/webmin/webmin-1.981/proc/ |
H A D | linux-lib.pl | 278 local $memtotal; 281 $memtotal = $m{'memtotal'}; 285 $memtotal = $memburst; 290 $memtotal = $memburst; 295 $memtotal = $m{'memtotal'}; 297 return ( $memtotal, 298 $m{'cached'} > $memtotal ? $m{'memfree'} :
|
/dports/sysutils/usermin/usermin-1.830/proc/ |
H A D | linux-lib.pl | 278 local $memtotal; 281 $memtotal = $m{'memtotal'}; 285 $memtotal = $memburst; 290 $memtotal = $memburst; 295 $memtotal = $m{'memtotal'}; 297 return ( $memtotal, 298 $m{'cached'} > $memtotal ? $m{'memfree'} :
|
/dports/sysutils/munin-master/munin-2.0.67/plugins/node.d/ |
H A D | snmp__memory.in | 100 my $memtotal = 0; 102 $memtotal += $mem; 105 printf "memory.value %d\n", $memtotal * 1024;
|
/dports/sysutils/munin-node/munin-2.0.67/plugins/node.d/ |
H A D | snmp__memory.in | 100 my $memtotal = 0; 102 $memtotal += $mem; 105 printf "memory.value %d\n", $memtotal * 1024;
|
/dports/sysutils/munin-common/munin-2.0.67/plugins/node.d/ |
H A D | snmp__memory.in | 100 my $memtotal = 0; 102 $memtotal += $mem; 105 printf "memory.value %d\n", $memtotal * 1024;
|