forked from Imagelibrary/binutils-gdb
* sim-utils.c (sim_add_commas): New function.
* sim-basics.h (sim_add_commas): Add prototype. * cgen-scache.c (scache_print_profile): Print commas in numbers. * sim-profile.c (COMMAS): New macro. (print_*): Use it to print commas in numbers.
This commit is contained in:
@@ -64,6 +64,9 @@ void *zalloc (unsigned long size);
|
||||
|
||||
void zfree(void*);
|
||||
|
||||
/* Turn VALUE into a string with commas. */
|
||||
char *sim_add_commas (char *, int, unsigned long);
|
||||
|
||||
|
||||
/* Utilities for elapsed time reporting. */
|
||||
/* Opaque type, known only inside sim_elapsed_time_foo fns. */
|
||||
@@ -114,8 +117,11 @@ typedef enum _attach_type {
|
||||
|
||||
#include "sim-config.h"
|
||||
|
||||
#include "sim-base.h"
|
||||
#include "sim-module.h"
|
||||
#include "sim-trace.h"
|
||||
#include "sim-profile.h"
|
||||
#include "sim-model.h"
|
||||
#include "sim-base.h"
|
||||
|
||||
#include "sim-inline.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user