Changeset 596 for branches/1.3/xcache.c


Ignore:
Timestamp:
2009-07-05T06:57:59+02:00 (6 years ago)
Author:
moo
Message:

merged r318,r321 from trunk

Location:
branches/1.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3

  • branches/1.3/xcache.c

    r595 r596  
    446446    array_init(ei);
    447447
    448     add_assoc_long_ex(ei, ZEND_STRS("size"),     entry->size);
    449448    add_assoc_long_ex(ei, ZEND_STRS("refcount"), entry->refcount);
    450449    add_assoc_long_ex(ei, ZEND_STRS("hits"),     entry->hits);
     
    477476        case XC_TYPE_PHP:
    478477            php = entry->data.php;
     478            add_assoc_long_ex(ei, ZEND_STRS("size"),          entry->size + php->size);
     479            add_assoc_long_ex(ei, ZEND_STRS("phprefcount"),   php->refcount);
    479480            add_assoc_long_ex(ei, ZEND_STRS("sourcesize"),    php->sourcesize);
    480481#ifdef HAVE_INODE
     
    493494#endif
    494495            break;
     496
    495497        case XC_TYPE_VAR:
    496498            var = entry->data.var;
     499            add_assoc_long_ex(ei, ZEND_STRS("size"),          entry->size);
    497500            break;
    498501
Note: See TracChangeset for help on using the changeset viewer.