Inherits Continuation.
Public Member Functions | |
int | startEvent (int event, Event *e) |
MultiCacheHeapGC (Continuation *acont, MultiCacheBase *amc) | |
~MultiCacheHeapGC () | |
Data Fields | |
Continuation * | cont |
MultiCacheBase * | mc |
int | partition |
int | n_offsets |
OffsetTable * | offset_table |
Definition at line 1122 of file MultiCache.cc.
MultiCacheHeapGC::MultiCacheHeapGC | ( | Continuation * | acont, | |
MultiCacheBase * | amc | |||
) | [inline] |
Definition at line 1177 of file MultiCache.cc.
References ats_malloc(), MultiCacheHeader::elements, MultiCacheHeader::heap_halfspace, MultiCacheHeader::levels, MultiCacheBase::locks, mc, Continuation::mutex, offset_table, partition, SET_HANDLER, startEvent(), and MultiCacheHeader::totalelements.
MultiCacheHeapGC::~MultiCacheHeapGC | ( | ) | [inline] |
Definition at line 1187 of file MultiCache.cc.
References ats_free(), and offset_table.
int MultiCacheHeapGC::startEvent | ( | int | event, | |
Event * | e | |||
) | [inline] |
Definition at line 1130 of file MultiCache.cc.
References ats_msync(), cont, MultiCacheBase::copy_heap(), Debug, Continuation::handleEvent(), MultiCacheBase::heap, MultiCacheHeader::heap_halfspace, MultiCacheHeader::heap_used, hostdb_sync_frequency, HRTIME_SECONDS, ink_assert, MultiCacheBase::locks, MultiCacheBase::mapped_header, MAX, mc, MC_SYNC_MIN_PAUSE_TIME, MULTI_CACHE_EVENT_SYNC, MULTI_CACHE_PARTITIONS, Continuation::mutex, n_offsets, OffsetTable::new_offset, offset_table, partition, OffsetTable::poffset, Event::schedule_in(), STORE_BLOCK_SIZE, MultiCacheBase::sync_partition(), and MultiCacheHeader::totalsize.
Referenced by MultiCacheHeapGC().
Definition at line 1124 of file MultiCache.cc.
Referenced by startEvent().
Definition at line 1125 of file MultiCache.cc.
Referenced by MultiCacheHeapGC(), and startEvent().
Definition at line 1127 of file MultiCache.cc.
Referenced by MultiCacheBase::copy_heap_data(), and startEvent().
Definition at line 1128 of file MultiCache.cc.
Referenced by MultiCacheBase::copy_heap_data(), MultiCacheHeapGC(), startEvent(), and ~MultiCacheHeapGC().
Definition at line 1126 of file MultiCache.cc.
Referenced by MultiCacheHeapGC(), and startEvent().