LCOV - code coverage report
Current view: top level - basic - procfs-util.h (source / functions) Hit Total Coverage
Test: systemd_full.info Lines: 2 2 100.0 %
Date: 2019-08-23 13:36:53 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: LGPL-2.1+ */
       2                 :            : #pragma once
       3                 :            : 
       4                 :            : #include <inttypes.h>
       5                 :            : 
       6                 :            : #include "time-util.h"
       7                 :            : 
       8                 :            : int procfs_tasks_get_limit(uint64_t *ret);
       9                 :            : int procfs_tasks_set_limit(uint64_t limit);
      10                 :            : int procfs_tasks_get_current(uint64_t *ret);
      11                 :            : 
      12                 :            : int procfs_cpu_get_usage(nsec_t *ret);
      13                 :            : 
      14                 :            : int procfs_memory_get(uint64_t *ret_total, uint64_t *ret_used);
      15                 :          4 : static inline int procfs_memory_get_used(uint64_t *ret) {
      16                 :          4 :         return procfs_memory_get(NULL, ret);
      17                 :            : }

Generated by: LCOV version 1.14