BRL-CAD
debugmem.c File Reference
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "./ged_private.h"
Include dependency graph for debugmem.c:

Go to the source code of this file.

Functions

int ged_debugmem (struct ged *gedp, int argc, const char *argv[])
 
int ged_memprint (struct ged *gedp, int argc, const char *argv[])
 

Detailed Description

The debugmem command.

Definition in file debugmem.c.

Function Documentation

int ged_debugmem ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Provides user-level access to LIBBU's bu_prmem()

Definition at line 36 of file debugmem.c.

References bu_prmem(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, and ged::ged_result_str.

Here is the call graph for this function:

int ged_memprint ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Definition at line 56 of file debugmem.c.

References bu_log(), bu_vls_printf(), bu_vls_trunc(), db_i::dbi_freep, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, ged::ged_result_str, ged::ged_wdbp, and rt_memprint().

Here is the call graph for this function: