PIPS
|
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sys/resource.h>
#include "genC.h"
#include "misc.h"
Go to the source code of this file.
Macros | |
#define | USAGE_STACK_SIZE 10 |
for USAGE information More... | |
Functions | |
static void | printf_time (FILE *f, struct timeval *p) |
available bucket More... | |
static void | printf_time_delta (FILE *f, struct timeval *begin, struct timeval *end) |
static void | printf_usage_delta (FILE *f, struct rusage *begin, struct rusage *end) |
simply dump all available information... More... | |
void | push_performance_spy () |
perf_spy.c More... | |
void | pop_performance_spy (FILE *f, string msg) |
Variables | |
static struct rusage | usage_stack [USAGE_STACK_SIZE] |
static int | stack_index = 0 |
#define USAGE_STACK_SIZE 10 |
for USAGE information
Definition at line 43 of file perf_spy.c.
void pop_performance_spy | ( | FILE * | f, |
string | msg | ||
) |
msg | sg |
Definition at line 97 of file perf_spy.c.
References current, f(), fprintf(), message_assert, printf_usage_delta(), stack_index, and usage_stack.
Referenced by hpf_remapping().
|
static |
available bucket
Definition at line 48 of file perf_spy.c.
References f(), and fprintf().
Referenced by printf_time_delta(), and printf_usage_delta().
|
static |
Definition at line 56 of file perf_spy.c.
References end, f(), and printf_time().
Referenced by printf_usage_delta().
|
static |
simply dump all available information...
Definition at line 70 of file perf_spy.c.
References end, f(), fprintf(), printf_time(), and printf_time_delta().
Referenced by pop_performance_spy().
void push_performance_spy | ( | void | ) |
Definition at line 89 of file perf_spy.c.
References message_assert, stack_index, usage_stack, and USAGE_STACK_SIZE.
Referenced by hpf_remapping().
|
static |
Definition at line 45 of file perf_spy.c.
Referenced by pop_performance_spy(), and push_performance_spy().
|
static |
Definition at line 1 of file perf_spy.c.
Referenced by pop_performance_spy(), and push_performance_spy().