Back to index

glibc  2.9
Defines
memusage.h File Reference
#include <hp-timing.h>
#include <sysdeps/generic/memusage.h>

Go to the source code of this file.

Defines

#define GETSP()   ({ register uintptr_t stack_ptr asm ("%r12"); stack_ptr; })
#define GETTIME(low, high)

Define Documentation

#define GETSP ( )    ({ register uintptr_t stack_ptr asm ("%r12"); stack_ptr; })

Definition at line 21 of file memusage.h.

#define GETTIME (   low,
  high 
)
Value:
{                                                                    \
    hp_timing_t __now;                                                      \
    HP_TIMING_NOW (__now);                                           \
    low = __now & 0xffffffff;                                               \
    high = __now >> 32;                                                     \
  }

Definition at line 22 of file memusage.h.