hiroyuki-sato / ucx

Unified Communication X (mailing list - https://elist.ornl.gov/mailman/listinfo/ucx-group):
http://www.openucx.org
Other
2 stars 0 forks source link

ucm/util/reloc.c memo #41

Open hiroyuki-sato opened 4 years ago

hiroyuki-sato commented 4 years ago
static UCS_CLASS_INIT_FUNC(ucs_memtype_cache_t)
  ucm_set_event_handler
    -> static ucm_event_install

UCS_CLASS_INIT_FUNC

    status = ucm_set_event_handler(UCM_EVENT_MEM_TYPE_ALLOC |
                                   UCM_EVENT_MEM_TYPE_FREE |
                                   UCM_EVENT_FLAG_EXISTING_ALLOC,
                                   1000, ucs_memtype_cache_event_callback,
                                   self);

Ref