Back to index

glibc  2.9
Defines
memusage.h File Reference
#include <limits.h>
#include <atomic.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define GETSP   0
#define GETTIME(low, high)
#define memusage_cntr_t   uatomic64_t
#define memusage_size_t   uatomic64_t

Define Documentation

#define GETSP   0

Definition at line 25 of file memusage.h.

#define GETTIME (   low,
  high 
)
Value:
{                                                                    \
    struct timeval tval;                                             \
    uint64_t usecs;                                                  \
    gettimeofday (&tval, NULL);                                             \
    usecs = (uint64_t) tval.tv_usec + (uint64_t) tval.tv_usec * 1000000;      \
    low = usecs & 0xffffffff;                                               \
    high = usecs >> 32;                                                     \
  }

Definition at line 29 of file memusage.h.

Definition at line 43 of file memusage.h.

Definition at line 49 of file memusage.h.