mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
* gc.c: define gc_profile_record::allocated_size if
CALC_EXACT_MALLOC_SIZE is true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
870dc20922
commit
fa105e6c20
2 changed files with 9 additions and 3 deletions
7
gc.c
7
gc.c
|
@ -217,15 +217,16 @@ typedef struct gc_profile_record {
|
|||
|
||||
size_t allocate_increase;
|
||||
size_t allocate_limit;
|
||||
#if CALC_EXACT_MALLOC_SIZE
|
||||
size_t allocated_size;
|
||||
#endif
|
||||
|
||||
double prepare_time;
|
||||
size_t removing_objects;
|
||||
size_t empty_objects;
|
||||
#endif
|
||||
|
||||
#if CALC_EXACT_MALLOC_SIZE
|
||||
size_t allocated_size;
|
||||
#endif
|
||||
|
||||
#if RGENGC_PROFILE > 0
|
||||
size_t oldgen_objects;
|
||||
size_t remembered_normal_objects;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue